summaryrefslogtreecommitdiff
path: root/lisp/cus-theme.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2013-12-18 15:54:20 +0800
committerChong Yidong <cyd@gnu.org>2013-12-18 15:54:20 +0800
commit8f942537eb2c23fef15c6a335f2102cb0ce76ec4 (patch)
treef9c30fcc8719985b28d069389d172be706bb2c5f /lisp/cus-theme.el
parentfb891cc8185d27e99e432bf07c424441c8017a27 (diff)
downloademacs-8f942537eb2c23fef15c6a335f2102cb0ce76ec4.tar.gz
* cus-theme.el (custom-new-theme-mode-map): Add bindings.
Fixes: debbugs:15674
Diffstat (limited to 'lisp/cus-theme.el')
-rw-r--r--lisp/cus-theme.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/cus-theme.el b/lisp/cus-theme.el
index dbe4fa42d8e..4482e94ad82 100644
--- a/lisp/cus-theme.el
+++ b/lisp/cus-theme.el
@@ -32,9 +32,11 @@
(defvar custom-new-theme-mode-map
(let ((map (make-keymap)))
- (set-keymap-parent map widget-keymap)
+ (set-keymap-parent map (make-composed-keymap widget-keymap
+ special-mode-map))
(suppress-keymap map)
(define-key map "\C-x\C-s" 'custom-theme-write)
+ (define-key map "q" 'Custom-buffer-done)
(define-key map "n" 'widget-forward)
(define-key map "p" 'widget-backward)
map)