[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master d48e07a: * lisp/simple.el (next-error-find-buff
Re: [Emacs-diffs] master d48e07a: * lisp/simple.el (next-error-find-buffer-function): New defcustom.
Mon, 26 Feb 2018 04:33:01 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0
On 2/22/18 12:04 AM, Stefan Monnier wrote:
+(defcustom next-error-find-buffer-function nil
Why make it a defcustom rather than a defvar?
I think we'll want to provide a set of predefined functions in the
future, for the user to choose one from.
+ (when next-error-find-buffer-function
+ (funcall next-error-find-buffer-function avoid-current
Could you arrange for the default value of this new *-function var not
to be nil so we can modify it with add-function?
Personally, I don't really expect this variable to be modified
programmatically. And if it is, most likely not in a "function
But, of course, I might be wrong.