emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/subr.el [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/subr.el [lexbind]
Date: Sat, 04 Sep 2004 05:49:19 -0400

Index: emacs/lisp/subr.el
diff -c emacs/lisp/subr.el:1.307.2.19 emacs/lisp/subr.el:1.307.2.20
*** emacs/lisp/subr.el:1.307.2.19       Sat Sep  4 09:19:26 2004
--- emacs/lisp/subr.el  Sat Sep  4 09:21:45 2004
***************
*** 572,578 ****
  (defmacro kbd (keys)
    "Convert KEYS to the internal Emacs key representation.
  KEYS should be a string constant in the format used for
! saving keyboard macros (see `insert-kbd-macro')."
    (read-kbd-macro keys))
  
  (put 'keyboard-translate-table 'char-table-extra-slots 0)
--- 572,578 ----
  (defmacro kbd (keys)
    "Convert KEYS to the internal Emacs key representation.
  KEYS should be a string constant in the format used for
! saving keyboard macros (see `edmacro-mode')."
    (read-kbd-macro keys))
  
  (put 'keyboard-translate-table 'char-table-extra-slots 0)
***************
*** 2310,2322 ****
  
  (defun global-unset-key (key)
    "Remove global binding of KEY.
! KEY is a string representing a sequence of keystrokes."
    (interactive "kUnset key globally: ")
    (global-set-key key nil))
  
  (defun local-unset-key (key)
    "Remove local binding of KEY.
! KEY is a string representing a sequence of keystrokes."
    (interactive "kUnset key locally: ")
    (if (current-local-map)
        (local-set-key key nil))
--- 2310,2322 ----
  
  (defun global-unset-key (key)
    "Remove global binding of KEY.
! KEY is a string or vector representing a sequence of keystrokes."
    (interactive "kUnset key globally: ")
    (global-set-key key nil))
  
  (defun local-unset-key (key)
    "Remove local binding of KEY.
! KEY is a string or vector representing a sequence of keystrokes."
    (interactive "kUnset key locally: ")
    (if (current-local-map)
        (local-set-key key nil))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]