From: Stefan Monnier Date: Fri, 14 Apr 2006 11:30:20 +0000 (+0000) Subject: (c-mode-menu): Don't presume c-subword-mode is bound. X-Git-Tag: emacs-pretest-22.0.90~3137 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=58bd87402ed95e8943f17e1e68fbae96997da2a6;p=emacs.git (c-mode-menu): Don't presume c-subword-mode is bound. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 045d14192ed..c3a1fd89a64 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +1,11 @@ +2006-04-14 Stefan Monnier + + * progmodes/cc-langs.el (c-mode-menu): + Don't presume c-subword-mode is bound. + 2006-04-13 Bill Wohler - * cus-edit.el (customize-package-emacs-version-alist): Update - docstring. + * cus-edit.el (customize-package-emacs-version-alist): Update docstring. (customize-package-emacs-version): Use cdr instead of cadr now that alists use dotted pairs. @@ -26,8 +30,8 @@ 2006-04-13 Carsten Dominik - * textmodes/org.el: (org-set-regexps-and-options, - org-get-current-options): Better names for the startup folding + * textmodes/org.el: (org-set-regexps-and-options) + (org-get-current-options): Better names for the startup folding options. 2006-04-13 Thien-Thi Nguyen @@ -37,8 +41,8 @@ 2006-04-12 Davis Herring (tiny change) - * files.el (hack-one-local-variable-eval-safep): Recognize - `edebug-form-spec' for `put', but only if it passes + * files.el (hack-one-local-variable-eval-safep): + Recognize `edebug-form-spec' for `put', but only if it passes `edebug-basic-spec'. Generalize `put' handling. * emacs-lisp/edebug.el (edebug-basic-spec): New function for @@ -49,11 +53,10 @@ 2006-04-13 Carsten Dominik - * textmodes/org.el: (org-ctrl-c-ctrl-c): Improved documentation - string. + * textmodes/org.el: (org-ctrl-c-ctrl-c): Improve documentation string. (org-agenda-mouse-1-follows-link) (org-mouse-1-follows-link): New options. - (org-format-agenda-item): Fixed bug if TAGS is nil. + (org-format-agenda-item): Fix bug if TAGS is nil. (org-agenda-get-scheduled): Quote `priority' symbol in plist. 2006-04-13 Nick Roberts diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index b02df16b4f5..8120094f606 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -267,7 +267,8 @@ the evaluated constant value at compile time." ["Hungry delete" c-toggle-hungry-state :style toggle :selected c-hungry-delete-key] ["Subword mode" c-subword-mode - :style toggle :selected c-subword-mode]))) + :style toggle :selected (and (boundp 'c-subword-mode) + c-subword-mode)]))) ;;; Syntax tables.