Commit 400c12fd authored by Dave Love's avatar Dave Love

(help-follow): Make arg optional again and really default to point.

parent 42f6a24a
......@@ -1165,11 +1165,13 @@ help buffer."
(interactive)
(help-follow (1- (point-max))))
(defun help-follow (pos)
(defun help-follow (&optional pos)
"Follow cross-reference at POS, defaulting to point.
For the cross-reference format, see `help-make-xrefs'."
(interactive "d")
(unless pos
(setq pos (point)))
(let* ((help-data
(or (and (not (= pos (point-max)))
(get-text-property pos 'help-xref))
......
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