Commit e5a29330 authored by Charles A. Roelli's avatar Charles A. Roelli
Browse files

lisp/vc/: documentation fixes

* lisp/vc/vc.el (vc-region-history): Clarify documentation.
* lisp/vc/add-log.el (change-log-get-method-definition):
Indent documentation.
parent f21f8e61
......@@ -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)
......
......@@ -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))
(lto (line-number-at-pos (1- to)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment