diff options
author | Karl Heuer <kwzh@gnu.org> | 1998-09-30 19:15:56 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1998-09-30 19:15:56 +0000 |
commit | 2b7b0d15850f0b42ce5ffe8947bfd82edb745464 (patch) | |
tree | a841c54340ba5eb822f97616a7d3b75a68321a23 /lisp/which-func.el | |
parent | 98743206de8a53e5231a3ae32d898a7e050486c4 (diff) | |
download | emacs-2b7b0d15850f0b42ce5ffe8947bfd82edb745464.tar.gz |
(which-func-mode-global): Make :set function
more reliable.
Diffstat (limited to 'lisp/which-func.el')
-rw-r--r-- | lisp/which-func.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |