Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5c6f8be0
Commit
5c6f8be0
authored
Jul 19, 1994
by
Richard M. Stallman
Browse files
At compile time, require dired.
(vc-finish-logentry): Use the proper files buffer for vc-buffer-sync.
parent
db18af03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lisp/vc.el
lisp/vc.el
+6
-2
No files found.
lisp/vc.el
View file @
5c6f8be0
...
...
@@ -61,6 +61,7 @@
(
require
'vc-hooks
)
(
require
'ring
)
(
eval-when-compile
(
require
'dired
))
; for dired-map-over-marks macro
(
if
(
not
(
assoc
'vc-parent-buffer
minor-mode-alist
))
(
setq
minor-mode-alist
...
...
@@ -676,8 +677,11 @@ If nil, uses `change-log-default-name'."
))
;; Sync parent buffer in case the user modified it while editing the comment.
(save-excursion
(set-buffer vc-parent-buffer)
(vc-buffer-sync))
(let ((buffer (get-file-buffer vc-log-file)))
(if buffer
(progn
(set-buffer buffer)
(vc-buffer-sync)))))
;; OK, do it to it
(if vc-log-operation
(save-excursion
...
...
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