1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00

(tmm-shortcut): Delete region after prompt instead

of erasing buffer.
This commit is contained in:
Gerd Moellmann 2000-01-11 22:04:24 +00:00
parent 7e3c74fa85
commit c2a8d4a7df

View File

@ -372,7 +372,8 @@ Stores a list of all the shortcuts in the free variable `tmm-short-cuts'."
(re-search-forward
(concat "\\(^\\|[ \t]\\)" (char-to-string c) tmm-mid-prompt))
(choose-completion))
(erase-buffer) ; In minibuffer
;; In minibuffer
(delete-region (minibuffer-prompt-end) (point-max))
(mapcar (lambda (elt)
(if (string=
(substring (car elt) 0