1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Recommend using 'keymap-global-set' in Commentaries

* lisp/bs.el, lisp/calculator.el, lisp/cedet/data-debug.el:
* lisp/help-at-pt.el, lisp/hilit-chg.el, lisp/mail/mspools.el:
* lisp/mh-e/mh-e.el, lisp/mouse-copy.el, lisp/mouse-drag.el:
* lisp/net/browse-url.el, lisp/net/webjump.el, lisp/printing.el:
* lisp/progmodes/cfengine.el, lisp/progmodes/ebnf2ps.el:
* lisp/ps-print.el, lisp/repeat.el, lisp/term/wyse50.el:
* lisp/term/x-win.el, lisp/vcursor.el, lisp/woman.el:
Recommend using 'keymap-global-set' instead of 'global-set-key'.
This commit is contained in:
Stefan Kangas 2025-03-15 00:09:45 +01:00
parent 2009ae8593
commit 679ad95a67
21 changed files with 75 additions and 75 deletions

View file

@ -145,14 +145,14 @@ M-r M-x move-to-window-line, Funct up-arrow or down-arrow are similar"
;; ;; By unsetting C-a and then binding it to a prefix, we
;; ;; allow the rest of the function keys which start with C-a
;; ;; to be recognized.
;; '(("\C-a" nil)
;; ("\C-k" nil)
;; ("\C-j" nil)
;; ("\C-l" nil)
;; ("\C-h" nil)
;; ("\er" nil)))
;; (global-set-key (car key-definition)
;; (nth 1 key-definition)))
;; '(("C-a" nil)
;; ("C-k" nil)
;; ("C-j" nil)
;; ("C-l" nil)
;; ("C-h" nil)
;; ("M-r" nil)))
;; (keymap-global-set (car key-definition)
;; (nth 1 key-definition)))
(fset 'enable-arrow-keys nil))
(provide 'term/wyse50)

View file

@ -1318,7 +1318,7 @@ This returns an error if any Emacs frames are X frames."
;; and turned the Emacs f10 back on.
;; ;; Motif normally handles f10 itself, so don't try to handle it a second time.
;; (if (featurep 'motif)
;; (global-set-key [f10] 'ignore))
;; (keymap-global-set "<f10>" 'ignore))
;; Enable CLIPBOARD copy/paste through menu bar commands.
(menu-bar-enable-clipboard)