diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/help.el | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/help.el b/lisp/help.el index cf7a62a3437..1d6a3426b88 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -1034,20 +1034,19 @@ that." | |||
| 1034 | (while | 1034 | (while |
| 1035 | ;; Ignore single blank lines in table, but not | 1035 | ;; Ignore single blank lines in table, but not |
| 1036 | ;; double ones, which should terminate it. | 1036 | ;; double ones, which should terminate it. |
| 1037 | (and (looking-at "^\n?[^\n\t ]") | 1037 | (and (not (looking-at "\n\n")) |
| 1038 | (progn | 1038 | (progn |
| 1039 | (if (and (> (move-to-column col) 0) | 1039 | (and (eolp) (forward-line)) |
| 1040 | (looking-at "\\(\\sw\\|-\\)+$")) | 1040 | (end-of-line) |
| 1041 | (skip-chars-backward "^\t\n") | ||
| 1042 | (if (and (>= (current-column) col) | ||
| 1043 | +(looking-at "\\(\\sw\\|-\\)+$")) | ||
| 1041 | ;; | 1044 | ;; |
| 1042 | (let ((sym (intern-soft (match-string 0)))) | 1045 | (let ((sym (intern-soft (match-string 0)))) |
| 1043 | (if (fboundp sym) | 1046 | (if (fboundp sym) |
| 1044 | (help-xref-button | 1047 | (help-xref-button |
| 1045 | 0 #'describe-function sym)))) | 1048 | 0 #'describe-function sym)))) |
| 1046 | t) | 1049 | (zerop (forward-line))))))))) |
| 1047 | (progn | ||
| 1048 | (end-of-line) | ||
| 1049 | (zerop (forward-line))) | ||
| 1050 | (move-to-column 0))))))) | ||
| 1051 | (set-syntax-table stab)) | 1050 | (set-syntax-table stab)) |
| 1052 | ;; Make a back-reference in this buffer if appropriate. | 1051 | ;; Make a back-reference in this buffer if appropriate. |
| 1053 | (when help-xref-stack | 1052 | (when help-xref-stack |