mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Prefer defvar-local in vc/*.el
* lisp/vc/ediff-diff.el (ediff-whitespace, ediff-word-1) (ediff-word-2, ediff-word-3, ediff-word-4): * lisp/vc/ediff-init.el (ediff-defvar-local): * lisp/vc/smerge-mode.el (smerge-check-cache): * lisp/vc/vc-bzr.el (vc-bzr-annotation-table): * lisp/vc/vc-dispatcher.el (vc-mode-line-hook): Prefer defvar-local.
This commit is contained in:
parent
2c74924b01
commit
a5885d9d63
5 changed files with 10 additions and 19 deletions
|
|
@ -860,9 +860,8 @@ If LIMIT is non-nil, show no more than this many entries."
|
|||
(vc-bzr-command "mv" nil 0 new old)
|
||||
(message "Renamed %s => %s" old new))
|
||||
|
||||
(defvar vc-bzr-annotation-table nil
|
||||
(defvar-local vc-bzr-annotation-table nil
|
||||
"Internal use.")
|
||||
(make-variable-buffer-local 'vc-bzr-annotation-table)
|
||||
|
||||
(defun vc-bzr-annotate-command (file buffer &optional revision)
|
||||
"Prepare BUFFER for `vc-annotate' on FILE.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue