* server.el (server-port): Doc fix.
+ * cus-theme.el (custom-theme-choose-mode): Inherit from
+ special-mode (Bug#9124).
+ (custom-theme-choose-mode-map): Add special-mode to parent.
+
2011-08-28 Alan Mackenzie <acm@muc.de>
* progmodes/cc-fonts.el
(defvar custom-theme-choose-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-save)
(define-key map "n" 'widget-forward)
map)
"Keymap for `custom-theme-choose-mode'.")
-(define-derived-mode custom-theme-choose-mode nil "Themes"
+(define-derived-mode custom-theme-choose-mode special-mode "Themes"
"Major mode for selecting Custom themes.
Do not call this mode function yourself. It is meant for internal use."
(use-local-map custom-theme-choose-mode-map)