Mercurial > emacs
changeset 22010:547e4c0a42c0
(Qbuffer_name_history): New variable.
(syms_of_minibuf): Initialize it.
(Fread_buffer): Use that history list.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 09 May 1998 23:55:27 +0000 |
parents | 8a2d45cadd66 |
children | e849b602b425 |
files | src/minibuf.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/minibuf.c Sat May 09 21:47:17 1998 +0000 +++ b/src/minibuf.c Sat May 09 23:55:27 1998 +0000 @@ -77,7 +77,7 @@ Lisp_Object Vminibuffer_history_position; -Lisp_Object Qminibuffer_history; +Lisp_Object Qminibuffer_history, Qbuffer_name_history; Lisp_Object Qread_file_name_internal; @@ -855,7 +855,8 @@ } return Fcompleting_read (prompt, Vbuffer_alist, Qnil, - require_match, Qnil, Qnil, def, Qnil); + require_match, Qnil, Qbuffer_name_history, + def, Qnil); } else { @@ -2103,6 +2104,9 @@ Qminibuffer_history = intern ("minibuffer-history"); staticpro (&Qminibuffer_history); + Qbuffer_name_history = intern ("buffer-name-history"); + staticpro (&Qbuffer_name_history); + Qminibuffer_setup_hook = intern ("minibuffer-setup-hook"); staticpro (&Qminibuffer_setup_hook);