From: Chong Yidong Date: Wed, 18 Dec 2013 07:54:20 +0000 (+0800) Subject: * cus-theme.el (custom-new-theme-mode-map): Add bindings. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~348 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8f942537eb2c23fef15c6a335f2102cb0ce76ec4;p=emacs.git * cus-theme.el (custom-new-theme-mode-map): Add bindings. Fixes: debbugs:15674 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e106a763332..db3ec56041b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2013-12-18 Chong Yidong + * cus-theme.el (custom-new-theme-mode-map): Add bindings + (Bug#15674). + * replace.el (occur-engine): Avoid infloop (Bug#7593). 2013-12-18 Kazuhiro Ito (tiny change) 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)