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
12755d08
Commit
12755d08
authored
Jun 15, 2010
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/vc-annotate.el (vc-annotate): Use vc-read-revision.
parent
95344a11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/vc-annotate.el
lisp/vc-annotate.el
+4
-4
No files found.
lisp/ChangeLog
View file @
12755d08
2010-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
* vc-annotate.el (vc-annotate): Use vc-read-revision.
2010-06-15 Glenn Morris <rgm@gnu.org>
* calendar/appt.el (appt-time-msg-list): Doc fix.
...
...
lisp/vc-annotate.el
View file @
12755d08
...
...
@@ -315,7 +315,7 @@ use; you may override this using the second optional arg MODE."
;;;###autoload
(
defun
vc-annotate
(
file
rev
&optional
display-mode
buf
move-point-to
)
"Display the edit history of the current
file
using colors.
"Display the edit history of the current
FILE
using colors.
This command creates a buffer that shows, for each line of the current
file, when it was last edited and by whom. Additionally, colors are
...
...
@@ -325,7 +325,7 @@ default, the time scale stretches back one year into the past;
everything that is older than that is shown in blue.
With a prefix argument, this command asks two questions in the
minibuffer. First, you may enter a revision number; then the buffer
minibuffer. First, you may enter a revision number
REV
; then the buffer
displays and annotates that revision instead of the working revision
\(type RET in the minibuffer to leave that default unchanged). Then,
you are prompted for the time span in days which the color range
...
...
@@ -347,9 +347,9 @@ mode-specific menu. `vc-annotate-color-map' and
(
list
buffer-file-name
(
let
((
def
(
vc-working-revision
buffer-file-name
)))
(
if
(
null
current-prefix-arg
)
def
(
read-
string
(
vc-
read-
revision
(
format
"Annotate from revision (default %s): "
def
)
nil
nil
def
)))
(
list
buffer-file-name
)
nil
def
)))
(
if
(
null
current-prefix-arg
)
vc-annotate-display-mode
(
float
(
string-to-number
...
...
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