# HG changeset patch # User Karl Heuer # Date 907182956 0 # Node ID 4486a69406072d689b13574d605ec8a2f7bf37a6 # Parent 4a3a39dff0ed4c13e624eefa9f41e95a4c891eea (which-func-mode-global): Make :set function more reliable. diff -r 4a3a39dff0ed -r 4486a6940607 lisp/which-func.el --- a/lisp/which-func.el Wed Sep 30 19:15:17 1998 +0000 +++ b/lisp/which-func.el Wed Sep 30 19:15:56 1998 +0000 @@ -106,7 +106,7 @@ "*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