From b5ba2d6f9bdd21771f5dbad663396eef2ec057c8 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 18 Aug 2010 15:12:34 +0200 Subject: [PATCH] * lisp/progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons. --- lisp/ChangeLog | 2 ++ lisp/progmodes/octave-mod.el | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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] "-" -- 2.39.2