]> code.delx.au - gnu-emacs/commitdiff
* progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
authorChong Yidong <cyd@gnu.org>
Fri, 10 Jan 2014 10:35:36 +0000 (18:35 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 10 Jan 2014 10:35:36 +0000 (18:35 +0800)
lisp/ChangeLog
lisp/progmodes/octave.el

index 46049b072e9315820c12057e9469b6e49b3a1827..ee56c87934774b0e9437a09a7cffef2c380cfc76 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-10  Chong Yidong  <cyd@gnu.org>
+
+       * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is
+       loaded.
+
 2014-01-10  Anders Lindgren  <andlind@gmail.com>
 
        * follow.el (follow-cache-command-list): Include right-char and
index 2ae0a02727f563620a0a835391d0a7f186dbabe1..e2ef492a9ad16654f1345f2b24f0543ab77055f3 100644 (file)
@@ -158,7 +158,8 @@ parenthetical grouping.")
                               (if (fboundp 'eldoc-post-insert-mode)
                                   'eldoc-post-insert-mode
                                 'eldoc-mode))
-     :style toggle :selected (or eldoc-post-insert-mode eldoc-mode)
+     :style toggle :selected (or (bound-and-true-p eldoc-post-insert-mode)
+                                (bound-and-true-p eldoc-mode))
      :help "Display function signatures after typing `SPC' or `('"]
     ["Delimiter Matching"           show-paren-mode
      :style toggle :selected show-paren-mode