From: Stefan Monnier Date: Wed, 18 Aug 2010 13:12:34 +0000 (+0200) Subject: * lisp/progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~48^2~248 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b5ba2d6f9bdd21771f5dbad663396eef2ec057c8;p=emacs.git * lisp/progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 85d7dda3395..c56f069eba5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2010-08-18 Stefan Monnier + * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons. + * progmodes/prolog.el (smie): Require. * emacs-lisp/smie.el (smie-default-backward-token) diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index 382b817e80f..11d86ecbde4 100644 --- a/lisp/progmodes/octave-mod.el +++ b/lisp/progmodes/octave-mod.el @@ -283,9 +283,10 @@ parenthetical grouping.") ["Indent Line" indent-according-to-mode t] ["Complete Symbol" completion-at-point t] "-" - ;; FIXME: Make them toggle-buttons. - ["Toggle Abbrev Mode" abbrev-mode t] - ["Toggle Auto-Fill Mode" auto-fill-mode t] + ["Toggle Abbrev Mode" abbrev-mode + :style toggle :selected abbrev-mode] + ["Toggle Auto-Fill Mode" auto-fill-mode + :style toggle :selected auto-fill-function] "-" ["Submit Bug Report" octave-submit-bug-report t] "-"