From: Karl Heuer Date: Wed, 30 Sep 1998 19:15:56 +0000 (+0000) Subject: (which-func-mode-global): Make :set function X-Git-Tag: emacs-20.4~1594 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2b7b0d15850f0b42ce5ffe8947bfd82edb745464;p=emacs.git (which-func-mode-global): Make :set function more reliable. --- diff --git a/lisp/which-func.el b/lisp/which-func.el index 782882d1be4..b77f0bcd65b 100644 --- a/lisp/which-func.el +++ b/lisp/which-func.el @@ -106,7 +106,7 @@ Zero means compute the Imenu menu regardless of size." "*Toggle `which-func-mode'. You must modify via \\[customize] for this variable to have an effect." :set #'(lambda (symbol value) - (which-func-mode (or value 0))) + (which-func-mode (if value 1 0))) :initialize 'custom-initialize-default :type 'boolean :group 'which-func