diff options
author | Chong Yidong <cyd@gnu.org> | 2013-12-18 15:54:20 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2013-12-18 15:54:20 +0800 |
commit | 8f942537eb2c23fef15c6a335f2102cb0ce76ec4 (patch) | |
tree | f9c30fcc8719985b28d069389d172be706bb2c5f /lisp/cus-theme.el | |
parent | fb891cc8185d27e99e432bf07c424441c8017a27 (diff) | |
download | emacs-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.el | 4 |
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) |