|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] emacs-25 f99b512: In M-%, avoid making buffer-local binding of text-property-default-nonsticky |
Date: | Tue, 29 Mar 2016 08:01:43 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> + (with-current-buffer (window-buffer (minibuffer-window)) > + (let ((text-property-default-nonsticky > + (cons '(separator . t) > text-property-default-nonsticky))) Using minibuffer-with-setup-hook would be a lot less hackish. This assumes that (window-buffer (minibuffer-window)) returns the buffer that read-from-minibuffer will use, which is only true in the normal case by accident (e.g. it's probably not going to hold in case of a recursive minibuffer invocation). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |