mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(hexl-mode-map): Fix the change of 2001-08-23: use
make-keymap instead of copy-keymap, since copying the global keymap messes up the menu bar.
This commit is contained in:
parent
dc414be144
commit
4b7dd7e2ff
2 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
2001-09-22 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* hexl.el (hexl-mode-map): Fix the change of 2001-08-23: use
|
||||
make-keymap instead of copy-keymap, since copying the global
|
||||
keymap messes up the menu bar.
|
||||
|
||||
* info.el (Info-goto-node, Info-menu): Doc fix. Suggested by
|
||||
Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>.
|
||||
|
||||
|
|
|
|||
|
|
@ -866,12 +866,12 @@ Customize the variable `hexl-follow-ascii' to disable this feature."
|
|||
|
||||
(if hexl-mode-map
|
||||
nil
|
||||
(setq hexl-mode-map (copy-keymap (current-global-map)))
|
||||
(setq hexl-mode-map (make-keymap))
|
||||
;; Make all self-inserting keys go through hexl-self-insert-command,
|
||||
;; because we need to convert them to unibyte characters before
|
||||
;; inserting them into the buffer.
|
||||
(substitute-key-definition 'self-insert-command 'hexl-self-insert-command
|
||||
hexl-mode-map)
|
||||
hexl-mode-map (current-global-map))
|
||||
|
||||
(define-key hexl-mode-map [left] 'hexl-backward-char)
|
||||
(define-key hexl-mode-map [right] 'hexl-forward-char)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue