projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5962a7c
)
* lisp/vc/vc-annotate.el: Better error handling (bug#34532)
author
Juri Linkov
<juri@linkov.net>
Wed, 27 Feb 2019 21:18:10 +0000
(23:18 +0200)
committer
Juri Linkov
<juri@linkov.net>
Wed, 27 Feb 2019 21:18:10 +0000
(23:18 +0200)
* lisp/vc/vc-annotate.el (vc-annotate-revision-previous-to-line):
Print message when prev-rev is nil.
lisp/vc/vc-annotate.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-annotate.el
b/lisp/vc/vc-annotate.el
index 86fc8686c3965bad7ae216d1ff50e64ebad65099..84838135fcc2dbf391d9df99e937c970cbcbfe52 100644
(file)
--- a/
lisp/vc/vc-annotate.el
+++ b/
lisp/vc/vc-annotate.el
@@
-541,7
+541,9
@@
Return a cons (REV . FILENAME)."
(setq prev-rev
(vc-call-backend vc-annotate-backend 'previous-revision
fname rev))
- (vc-annotate-warp-revision prev-rev fname)))))
+ (if (not prev-rev)
+ (message "No previous revisions")
+ (vc-annotate-warp-revision prev-rev fname))))))
(defvar log-view-vc-backend)
(defvar log-view-vc-fileset)