]> git.eshelyaron.com Git - emacs.git/commitdiff
(help-follow): Make arg optional again and really default to point.
authorDave Love <fx@gnu.org>
Thu, 28 Oct 1999 09:48:39 +0000 (09:48 +0000)
committerDave Love <fx@gnu.org>
Thu, 28 Oct 1999 09:48:39 +0000 (09:48 +0000)
lisp/help.el

index c9c1821c73204edcfab99c731dc4e590b0dd9e9c..40cc1dc089ade44722e0b465503fcb6916c79b35 100644 (file)
@@ -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))