summaryrefslogtreecommitdiff
path: root/lisp/vc
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/add-log.el2
-rw-r--r--lisp/vc/vc-git.el2
-rw-r--r--lisp/vc/vc.el5
3 files changed, 6 insertions, 3 deletions
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el
index ea2e8ec874a..bc2be4aadb4 100644
--- a/lisp/vc/add-log.el
+++ b/lisp/vc/add-log.el
@@ -1163,7 +1163,7 @@ Has a preference of looking backwards."
(goto-char (match-end 0)))
(defun change-log-get-method-definition ()
-"For Objective C, return the method name if we are in a method."
+ "For Objective C, return the method name if we are in a method."
(let ((change-log-get-method-definition-md "["))
(save-excursion
(if (re-search-backward "^@implementation\\s-*\\([A-Za-z_]*\\)" nil t)
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 9274714cc60..26af99805d0 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -227,7 +227,7 @@ Should be consistent with the Git config value i18n.logOutputEncoding."
(concat name "\0"))))))))
(defun vc-git--state-code (code)
- "Convert from a string to a added/deleted/modified state."
+ "Convert from a string to an added/deleted/modified state."
(pcase (string-to-char code)
(?M 'edited)
(?A 'added)
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index b87701536f8..01dc47e8089 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -2415,7 +2415,10 @@ When called interactively with a prefix argument, prompt for REMOTE-LOCATION."
;;;###autoload
(defun vc-region-history (from to)
- "Show the history of the region FROM..TO."
+ "Show the history of the region between FROM and TO.
+
+If called interactively, show the history between point and
+mark."
(interactive "r")
(let* ((lfrom (line-number-at-pos from t))
(lto (line-number-at-pos (1- to) t))