Commit c34066b7 authored by Richard M. Stallman's avatar Richard M. Stallman

(which-func-current, which-func-format):

Preload the risky-local-variable properties for them.
parent 62ea1306
......@@ -103,7 +103,7 @@ Zero means compute the Imenu menu regardless of size."
"Format for displaying the function in the mode line."
:group 'which-func
:type 'sexp)
(put 'which-func-format 'risky-local-variable t)
;;;###autoload (put 'which-func-format 'risky-local-variable t)
(defvar which-func-cleanup-function nil
"Function to transform a string before displaying it in the mode line.
......@@ -125,7 +125,7 @@ and you want to simplify them for the mode line
(defconst which-func-current
'(:eval (gethash (selected-window) which-func-table which-func-unknown)))
(put 'which-func-current 'risky-local-variable t)
;;;###autoload (put 'which-func-current 'risky-local-variable t)
(defvar which-func-mode nil
"Non-nil means display current function name in mode line.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment