diff options
| author | Glenn Morris | 2011-02-19 16:09:28 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-02-19 16:09:28 -0800 |
| commit | 18cfb5a1eaf92c9768b5399a1b1eaa734d0408e5 (patch) | |
| tree | ccb844d4614e19493a55fcbcebff27aa83c330e9 | |
| parent | a87af185c9dd68d60d5ba9076b25586a3afd0f18 (diff) | |
| download | emacs-18cfb5a1eaf92c9768b5399a1b1eaa734d0408e5.tar.gz emacs-18cfb5a1eaf92c9768b5399a1b1eaa734d0408e5.zip | |
autorevert.el trivia.
* lisp/autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-ignore-buffer): Remove leading "*" from docs.
It makes zero sense to use it with these variables.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/autorevert.el | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2f932c3421c..4a98d4dd555 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-02-20 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * autorevert.el (auto-revert-mode, auto-revert-tail-mode) | ||
| 4 | (global-auto-revert-ignore-buffer): Remove leading "*" from docs. | ||
| 5 | |||
| 1 | 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com> | 6 | 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com> |
| 2 | Dima Kogan <dkogan@cds.caltech.edu> (tiny change) | 7 | Dima Kogan <dkogan@cds.caltech.edu> (tiny change) |
| 3 | 8 | ||
diff --git a/lisp/autorevert.el b/lisp/autorevert.el index 0000e29f458..2bc7310d7e5 100644 --- a/lisp/autorevert.el +++ b/lisp/autorevert.el | |||
| @@ -116,12 +116,12 @@ Global Auto-Revert Mode applies to all buffers." | |||
| 116 | ;;; What's this?: ;; Autoload for the benefit of `make-mode-line-mouse-sensitive'. | 116 | ;;; What's this?: ;; Autoload for the benefit of `make-mode-line-mouse-sensitive'. |
| 117 | ;;; What's this?: ;;;###autoload | 117 | ;;; What's this?: ;;;###autoload |
| 118 | (defvar auto-revert-mode nil | 118 | (defvar auto-revert-mode nil |
| 119 | "*Non-nil when Auto-Revert Mode is active. | 119 | "Non-nil when Auto-Revert Mode is active. |
| 120 | Never set this variable directly, use the command `auto-revert-mode' instead.") | 120 | Never set this variable directly, use the command `auto-revert-mode' instead.") |
| 121 | (put 'auto-revert-mode 'permanent-local t) | 121 | (put 'auto-revert-mode 'permanent-local t) |
| 122 | 122 | ||
| 123 | (defvar auto-revert-tail-mode nil | 123 | (defvar auto-revert-tail-mode nil |
| 124 | "*Non-nil when Auto-Revert Tail Mode is active. | 124 | "Non-nil when Auto-Revert Tail Mode is active. |
| 125 | Never set this variable directly, use the command | 125 | Never set this variable directly, use the command |
| 126 | `auto-revert-tail-mode' instead.") | 126 | `auto-revert-tail-mode' instead.") |
| 127 | (put 'auto-revert-tail-mode 'permanent-local t) | 127 | (put 'auto-revert-tail-mode 'permanent-local t) |
| @@ -254,8 +254,7 @@ buffers. CPU usage depends on the version control system." | |||
| 254 | :version "22.1") | 254 | :version "22.1") |
| 255 | 255 | ||
| 256 | (defvar global-auto-revert-ignore-buffer nil | 256 | (defvar global-auto-revert-ignore-buffer nil |
| 257 | "*When non-nil, Global Auto-Revert Mode will not revert this buffer. | 257 | "When non-nil, Global Auto-Revert Mode will not revert this buffer. |
| 258 | |||
| 259 | This variable becomes buffer local when set in any fashion.") | 258 | This variable becomes buffer local when set in any fashion.") |
| 260 | (make-variable-buffer-local 'global-auto-revert-ignore-buffer) | 259 | (make-variable-buffer-local 'global-auto-revert-ignore-buffer) |
| 261 | 260 | ||