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
f905e56a
Commit
f905e56a
authored
Jun 02, 2000
by
Stefan Monnier
Browse files
(log-edit-done): Thinko in the "same comment" detection.
parent
2082fe81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lisp/log-edit.el
lisp/log-edit.el
+4
-2
No files found.
lisp/log-edit.el
View file @
f905e56a
...
...
@@ -5,7 +5,7 @@
;; Author: Stefan Monnier <monnier@cs.yale.edu>
;; Keywords: pcl-cvs cvs commit log
;; Version: $Name: $
;; Revision: $Id: log-edit.el,v 1.
5
2000/0
5/21 02:13:26
monnier Exp $
;; Revision: $Id: log-edit.el,v 1.
6
2000/0
6/02 02:28:39
monnier Exp $
;; This file is part of GNU Emacs.
...
...
@@ -205,7 +205,9 @@ If you want to abort the commit, simply delete the buffer."
(
goto-char
(
point-max
))
(
insert
?\n
)))
(
let
((
comment
(
buffer-string
)))
(
when
(
and
(
boundp
'vc-comment-ring
)
(
ring-p
vc-comment-ring
)
(
when
(
and
(
boundp
'vc-comment-ring
)
(
ring-p
vc-comment-ring
)
(
not
(
ring-empty-p
vc-comment-ring
))
(
not
(
equal
comment
(
ring-ref
vc-comment-ring
0
))))
(
ring-insert
vc-comment-ring
comment
)))
(
let
((
win
(
get-buffer-window
log-edit-files-buf
)))
...
...
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