aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-11-27 02:31:34 +0000
committerMiles Bader2000-11-27 02:31:34 +0000
commita2e6f42617d5ec5927a096d016fe65b7ed0991f0 (patch)
tree9aa855fcc19d69c54cb62ec9b812d32e905579aa
parent46c569725e256637a880607dcbf3be1deee6b122 (diff)
downloademacs-a2e6f42617d5ec5927a096d016fe65b7ed0991f0.tar.gz
emacs-a2e6f42617d5ec5927a096d016fe65b7ed0991f0.zip
(help-make-xrefs): Delete extraneous newlines at the end of the docstring.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/help.el5
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 33166cac7f8..f5683ff19e2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,6 +1,8 @@
12000-11-27 Miles Bader <miles@gnu.org> 12000-11-27 Miles Bader <miles@gnu.org>
2 2
3 * help.el (help-manyarg-func-alist): Correct entry for `vconcat'. 3 * help.el (help-manyarg-func-alist): Correct entry for `vconcat'.
4 (help-make-xrefs): Delete extraneous newlines at the end of the
5 docstring.
4 6
52000-11-25 Jason Rumney <jasonr@gnu.org> 72000-11-25 Jason Rumney <jasonr@gnu.org>
6 8
@@ -18,7 +20,7 @@
18 * cus-face.el (custom-face-attributes): Add "None" choice to :stipple. 20 * cus-face.el (custom-face-attributes): Add "None" choice to :stipple.
19 21
20 * wid-edit.el (widget-field-value-delete): Don't try to delete 22 * wid-edit.el (widget-field-value-delete): Don't try to delete
21 overlay when it's the `psuedo-overlay' that exists at some points. 23 overlay when it's the `pseudo-overlay' that exists at some points.
22 24
232000-11-24 Jason Rumney <jasonr@gnu.org> 252000-11-24 Jason Rumney <jasonr@gnu.org>
24 26
diff --git a/lisp/help.el b/lisp/help.el
index 8c9f5c80901..b3e726ba27c 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1239,9 +1239,12 @@ that."
1239 "mouse-2, RET: describe this function")))) 1239 "mouse-2, RET: describe this function"))))
1240 (zerop (forward-line))))))))) 1240 (zerop (forward-line)))))))))
1241 (set-syntax-table stab)) 1241 (set-syntax-table stab))
1242 ;; Delete extraneous newlines at the end of the docstring
1243 (goto-char (point-max))
1244 (while (and (not (bobp)) (bolp))
1245 (delete-char -1))
1242 ;; Make a back-reference in this buffer if appropriate. 1246 ;; Make a back-reference in this buffer if appropriate.
1243 (when (and help-xref-following help-xref-stack) 1247 (when (and help-xref-following help-xref-stack)
1244 (goto-char (point-max))
1245 (save-excursion 1248 (save-excursion
1246 (insert "\n\n" help-back-label)) 1249 (insert "\n\n" help-back-label))
1247 ;; Just to provide the match data: 1250 ;; Just to provide the match data: