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
2507310c
Commit
2507310c
authored
Jan 15, 2008
by
Thien-Thi Nguyen
Browse files
(log-edit): Doc fix.
parent
c8ad8829
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/log-edit.el
lisp/log-edit.el
+11
-11
No files found.
lisp/ChangeLog
View file @
2507310c
2008-01-15 Thien-Thi Nguyen <ttn@gnuvola.org>
* log-edit.el (log-edit): Doc fix.
2008-01-15 Glenn Morris <rgm@gnu.org>
* diff-mode.el (diff-end-of-hunk): Revert 2008-01-08 change.
...
...
lisp/log-edit.el
View file @
2507310c
...
...
@@ -309,20 +309,20 @@ automatically."
"Setup a buffer to enter a log message.
\\<log-edit-mode-map>The buffer will be put in `log-edit-mode'.
If SETUP is non-nil, the buffer is then erased and `log-edit-hook' is run.
Mark and point will be set around the entire contents of the
buffer so
that it is easy to kill the contents of the buffer with \\[kill-region].
Mark and point will be set around the entire contents of the
buffer so
that it is easy to kill the contents of the buffer with \\[kill-region].
Once you're done editing the message, pressing \\[log-edit-done] will call
`log-edit-done' which will end up calling CALLBACK to do the actual commit.
PARAMS if non-nil is an alist. The keys for the alist can be:
`log-edit-listfun' and `log-edit-diff-function'. The
associated
value for
`log-edit-listfun'
should be a function with not
argument
s that re
turns the list of files that are concerned by
the current operation (using relative names). The associated
value for `log-edit-diff-function' should be a function with no
arguments that displays a diff of the files concerned by the current operation.
PARAMS if non-nil is an alist. Possible keys and
associated
values:
`log-edit-listfun'
-- function taking no arguments that returns the list of
file
s that
a
re
concerned by the current operation (using relative names);
`log-edit-diff-function' -- function taking no arguments that
displays a diff of the files concerned by the current operation.
If BUFFER is non-nil `log-edit' will jump to that buffer, use it to edit the
log message and go back to the current buffer when done. Otherwise, it
uses the current buffer."
log message and go back to the current buffer when done. Otherwise, it
uses the current buffer."
(
let
((
parent
(
current-buffer
)))
(
if
buffer
(
pop-to-buffer
buffer
))
(
when
(
and
log-edit-setup-invert
(
not
(
eq
setup
'force
)))
...
...
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