mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Fix the handling of the Delete key in help screens.
* lisp/help-macro.el (make-help-screen): Handle the Delete key in help screens as in Emacs 23 and earlier. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
13a248f7e7
commit
a6d40a289e
1 changed files with 2 additions and 2 deletions
|
|
@ -148,7 +148,7 @@ and then returns."
|
|||
(setq new-minor-mode-map-alist minor-mode-map-alist))
|
||||
(goto-char (point-min))
|
||||
(while (or (memq char (append help-event-list
|
||||
(cons help-char '(?? ?\C-v ?\s ?\177 delete backspace vertical-scroll-bar ?\M-v))))
|
||||
(cons help-char '(?? ?\C-v ?\s ?\177 deletechar backspace vertical-scroll-bar ?\M-v))))
|
||||
(eq (car-safe char) 'switch-frame)
|
||||
(equal key "\M-v"))
|
||||
(condition-case nil
|
||||
|
|
@ -157,7 +157,7 @@ and then returns."
|
|||
(handle-switch-frame char))
|
||||
((memq char '(?\C-v ?\s))
|
||||
(scroll-up))
|
||||
((or (memq char '(?\177 ?\M-v delete backspace))
|
||||
((or (memq char '(?\177 ?\M-v deletechar backspace))
|
||||
(equal key "\M-v"))
|
||||
(scroll-down)))
|
||||
(error nil))
|
||||
|
|
|
|||
Loading…
Reference in a new issue