Mercurial > emacs
changeset 6231:c2bb4c368553
(mouse-choose-completion): Bury the completion buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 07 Mar 1994 03:37:55 +0000 |
parents | 4c72f80598ae |
children | d695df82e96a |
files | lisp/mouse.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mouse.el Mon Mar 07 03:00:30 1994 +0000 +++ b/lisp/mouse.el Mon Mar 07 03:37:55 1994 +0000 @@ -1214,6 +1214,10 @@ (let ((beg (point))) (skip-chars-forward "^ \t\n") (setq choice (buffer-substring beg (point)))))) + (let ((owindow (selected-window))) + (select-window (posn-window (event-start event))) + (bury-buffer) + (select-window owindow)) (set-buffer buffer) (mouse-delete-max-match choice) (insert choice)