diff options
| author | Karl Heuer | 1998-09-30 19:15:56 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-09-30 19:15:56 +0000 |
| commit | 2b7b0d15850f0b42ce5ffe8947bfd82edb745464 (patch) | |
| tree | a841c54340ba5eb822f97616a7d3b75a68321a23 | |
| parent | 98743206de8a53e5231a3ae32d898a7e050486c4 (diff) | |
| download | emacs-2b7b0d15850f0b42ce5ffe8947bfd82edb745464.tar.gz emacs-2b7b0d15850f0b42ce5ffe8947bfd82edb745464.zip | |
(which-func-mode-global): Make :set function
more reliable.
| -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." | |||
| 106 | "*Toggle `which-func-mode'. | 106 | "*Toggle `which-func-mode'. |
| 107 | You must modify via \\[customize] for this variable to have an effect." | 107 | You must modify via \\[customize] for this variable to have an effect." |
| 108 | :set #'(lambda (symbol value) | 108 | :set #'(lambda (symbol value) |
| 109 | (which-func-mode (or value 0))) | 109 | (which-func-mode (if value 1 0))) |
| 110 | :initialize 'custom-initialize-default | 110 | :initialize 'custom-initialize-default |
| 111 | :type 'boolean | 111 | :type 'boolean |
| 112 | :group 'which-func | 112 | :group 'which-func |