diff options
author | Glenn Morris <rgm@gnu.org> | 2009-08-26 03:07:25 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-08-26 03:07:25 +0000 |
commit | 6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b (patch) | |
tree | c0aceb708a01fcb3d8ca22b3532027691ec40df8 /lisp/bindings.el | |
parent | e49c01791000a9d18cd7813c947c78b1ea1b7cf7 (diff) | |
download | emacs-6dc3311d252c4f85ab7ba93dfef6486afa2fbd5b.tar.gz |
Define risky-local-variable property here rather than in files.el.
Diffstat (limited to 'lisp/bindings.el')
-rw-r--r-- | lisp/bindings.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/bindings.el b/lisp/bindings.el index 563d4f73352..9ee6c3fa306 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -173,6 +173,8 @@ corresponding to the mode line clicked." (:propertize ("" (:eval (if (frame-parameter nil 'client) "@" ""))) help-echo "emacsclient frame")) "Mode-line control for identifying emacsclient frames.") +;; Autoload all risky properties if this file no longer dumped. +(put 'mode-line-client 'risky-local-variable t) (defvar mode-line-mule-info `("" @@ -214,6 +216,7 @@ mnemonics of the following coding systems: ;; coding system for encoding text to send to buffer process (if any)." ) +(put 'mode-line-mule-info 'risky-local-variable t) (make-variable-buffer-local 'mode-line-mule-info) ;; MSDOS frames have window-system, but want the Fn identification. @@ -235,6 +238,7 @@ Value is used for `mode-line-frame-identification', which see." Mode-line control for displaying info on process status. Normally nil in most modes, since there is no process to display.") +(put 'mode-line-process 'risky-local-variable t) (make-variable-buffer-local 'mode-line-process) (defvar mode-line-modified @@ -265,6 +269,7 @@ Normally nil in most modes, since there is no process to display.") 'mouse-face 'mode-line-highlight)) "Mode-line control for displaying whether current buffer is modified.") +(put 'mode-line-modified 'risky-local-variable t) (make-variable-buffer-local 'mode-line-modified) (defvar mode-line-remote @@ -281,6 +286,7 @@ Normally nil in most modes, since there is no process to display.") "Current directory is local: ") default-directory))))))) "Mode-line flag to show if default-directory for current buffer is remote.") +(put 'mode-line-remote 'risky-local-variable t) (make-variable-buffer-local 'mode-line-remote) @@ -289,9 +295,11 @@ Normally nil in most modes, since there is no process to display.") "Mode-line control for displaying the position in the buffer. Normally displays the buffer percentage and, optionally, the buffer size, the line number and the column number.") +(put 'mode-line-position 'risky-local-variable t) (defvar mode-line-modes nil "Mode-line control for displaying major and minor modes.") +(put 'mode-line-modes 'risky-local-variable t) (defvar mode-line-mode-menu (make-sparse-keymap "Minor Modes") "\ Menu of mode operations in the mode line.") @@ -470,6 +478,7 @@ Its default value is (\"%12b\") with some text properties added. Major modes that edit things other than ordinary files may change this \(e.g. Info, Dired,...)") +(put 'mode-line-buffer-identification 'risky-local-variable t) (make-variable-buffer-local 'mode-line-buffer-identification) (defun unbury-buffer () "\ @@ -576,6 +585,7 @@ STRING is included in the mode line if VARIABLE's value is non-nil. Actually, STRING need not be a string; any possible mode-line element is okay. See `mode-line-format'.") +(put 'minor-mode-alist 'risky-local-variable t) ;; Don't use purecopy here--some people want to change these strings. (setq minor-mode-alist '((abbrev-mode " Abbrev") |