Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
64fa2c4f
Commit
64fa2c4f
authored
Jan 23, 2004
by
André Spiegel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(vc-annotate): Fix improper use of `make-local-variable' at the top
level of vc.el. (Patch by Benjamin Rutt.)
parent
fe905025
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
lisp/vc.el
lisp/vc.el
+5
-7
No files found.
lisp/vc.el
View file @
64fa2c4f
...
...
@@ -7,7 +7,7 @@
;; Maintainer: Andre Spiegel <spiegel@gnu.org>
;; Keywords: tools
;; $Id: vc.el,v 1.36
3
2004/01/2
1 11:05:51
uid65624 Exp $
;; $Id: vc.el,v 1.36
4
2004/01/2
2 23:34:33
uid65624 Exp $
;; This file is part of GNU Emacs.
...
...
@@ -2816,9 +2816,6 @@ Uses `rcs2log' which only works for RCS and CVS."
(
defvar
vc-annotate-parent-file
nil
)
(
defvar
vc-annotate-parent-rev
nil
)
(
defvar
vc-annotate-parent-display-mode
nil
)
(
make-local-variable
'vc-annotate-parent-file
)
(
make-local-variable
'vc-annotate-parent-rev
)
(
make-local-variable
'vc-annotate-parent-display-mode
)
(
defconst
vc-annotate-font-lock-keywords
;; The fontification is done by vc-annotate-lines instead of font-lock.
...
...
@@ -3038,9 +3035,10 @@ colors. `vc-annotate-background' specifies the background color."
vc-annotate-version
))
(
save-excursion
(
set-buffer
temp-buffer-name
)
(
setq
vc-annotate-parent-file
bfn
)
(
setq
vc-annotate-parent-rev
vc-annotate-version
)
(
setq
vc-annotate-parent-display-mode
vc-annotate-display-mode
))
(
set
(
make-local-variable
'vc-annotate-parent-file
)
bfn
)
(
set
(
make-local-variable
'vc-annotate-parent-rev
)
vc-annotate-version
)
(
set
(
make-local-variable
'vc-annotate-parent-display-mode
)
vc-annotate-display-mode
))
;; Don't use the temp-buffer-name until the buffer is created
;; (only after `with-output-to-temp-buffer'.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment