]> code.delx.au - gnu-emacs/blobdiff - lisp/man.el
Augment docstring of ffap-string-at-point-mode-alist
[gnu-emacs] / lisp / man.el
index d9124c24e00b20909bda6bab79f99f2339bae7e5..c5dbcba83a1c73933774f630f18f1618b18891f1 100644 (file)
@@ -747,7 +747,8 @@ POS defaults to `point'."
          ;; Record the distance traveled.
          (setq distance (- column (current-column)))
          (when (looking-back
-                (concat "([ \t]*\\(?:" Man-section-regexp "\\)[ \t]*)"))
+                (concat "([ \t]*\\(?:" Man-section-regexp "\\)[ \t]*)")
+                 (line-beginning-position))
            ;; Skip section number backwards.
            (goto-char (match-beginning 0))
            (skip-chars-backward " \t"))