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


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lisp/subr.el
Date: Sun, 08 Aug 2004 12:53:37 -0400

Index: emacs/lisp/subr.el
diff -c emacs/lisp/subr.el:1.402 emacs/lisp/subr.el:1.403
*** emacs/lisp/subr.el:1.402    Sat Jul 31 15:45:30 2004
--- emacs/lisp/subr.el  Sun Aug  8 16:49:37 2004
***************
*** 2304,2316 ****
  
  (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))
--- 2304,2316 ----
  
  (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]