/[emacs]/emacs/lisp/subr.el
ViewVC logotype

Diff of /emacs/lisp/subr.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.402 by teirllm, Sat Jul 31 15:45:30 2004 UTC revision 1.403 by teirllm, Sun Aug 8 16:49:37 2004 UTC
# Line 2304  which in most cases is shared with all o Line 2304  which in most cases is shared with all o
2304    
2305  (defun global-unset-key (key)  (defun global-unset-key (key)
2306    "Remove global binding of KEY.    "Remove global binding of KEY.
2307  KEY is a string representing a sequence of keystrokes."  KEY is a string or vector representing a sequence of keystrokes."
2308    (interactive "kUnset key globally: ")    (interactive "kUnset key globally: ")
2309    (global-set-key key nil))    (global-set-key key nil))
2310    
2311  (defun local-unset-key (key)  (defun local-unset-key (key)
2312    "Remove local binding of KEY.    "Remove local binding of KEY.
2313  KEY is a string representing a sequence of keystrokes."  KEY is a string or vector representing a sequence of keystrokes."
2314    (interactive "kUnset key locally: ")    (interactive "kUnset key locally: ")
2315    (if (current-local-map)    (if (current-local-map)
2316        (local-set-key key nil))        (local-set-key key nil))

Legend:
Removed from v.1.402  
changed lines
  Added in v.1.403

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26