summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2006-12-04 12:31:38 +0000
committerKim F. Storm <storm@cua.dk>2006-12-04 12:31:38 +0000
commit56c5808a5d5964fa24abcb856ddbb5fcc4010d00 (patch)
treefe8462472e8f973918d2fdb1828e1401554cfe08 /lisp
parentd96658e3fd1586182c54ded540401a3bd00e6465 (diff)
downloademacs-56c5808a5d5964fa24abcb856ddbb5fcc4010d00.tar.gz
(global-map): Bind [signal t] to ignore, to have
user signals ignored by default.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/bindings.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 6fb7b405344..b0a44421c72 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -1064,6 +1064,10 @@ language you are using."
(define-key ctl-x-4-map "c" 'clone-indirect-buffer-other-window)
+;; Signal handlers
+(define-key global-map [signal] (make-sparse-keymap))
+(define-key global-map [signal t] 'ignore)
+
;; Don't look for autoload cookies in this file.
;; Local Variables:
;; no-update-autoloads: t