help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [LISP] completion of partial buffer name


From: Stefan Monnier <address@hidden>
Subject: Re: [LISP] completion of partial buffer name
Date: 09 Sep 2002 10:51:34 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Alex" == Alex Schroeder <alex@emacswiki.org> writes:
> (let ((completions (mapcar (lambda (buf)
>                            (list (buffer-name buf)))
>                          (buffer-list))))
>   (try-completion "output" completions))

You can also use `all-completions' which will unsurprisingly
return the list of buffers that match.


        Stefan


reply via email to

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