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:
parent
7e3c74fa85
commit
c2a8d4a7df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user