emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-r and C-s in minibuffer should search completion


From: Stefan Monnier
Subject: Re: C-r and C-s in minibuffer should search completion
Date: Mon, 21 Apr 2008 23:10:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> That is why I propose creating a function `buffer-alist' that returns
>> a copy of Vbuffer_alist, not using this variable directly.  So modifications
>> on this alist would be impossible.
>> 
>> (defun buffer-alist ()
>> (mapcar (lambda (b) (cons (buffer-name b) b))
>> (buffer-list)))

> If this is so simple, then what problems would cause moving
> `internal-complete-buffer' to Lisp?

None (other than a very minor reduction in consing), but I'm not sure
what would be the benefits,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]