changeset 51069:20b5efbd58c6

(which-func-current, which-func-format): Preload the risky-local-variable properties for them.
author Richard M. Stallman <rms@gnu.org>
date Sun, 18 May 2003 15:07:11 +0000
parents 4441e202a6f4
children 54c727f3404e
files lisp/which-func.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/which-func.el	Sun May 18 15:04:24 2003 +0000
+++ b/lisp/which-func.el	Sun May 18 15:07:11 2003 +0000
@@ -103,7 +103,7 @@
   "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 @@
 
 (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.