[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 95a021fe5f: Minor fix to how describe-function-1 displays symbols
From: |
Lars Ingebrigtsen |
Subject: |
master 95a021fe5f: Minor fix to how describe-function-1 displays symbols with spaces |
Date: |
Tue, 8 Feb 2022 02:04:52 -0500 (EST) |
branch: master
commit 95a021fe5f009bb0198b6c1266d674b12092449b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Minor fix to how describe-function-1 displays symbols with spaces
* lisp/help-fns.el (describe-function-1): Ensure that symbols like
`bar\ ' aren't rendered incorrectly (bug#23130).
---
lisp/help-fns.el | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 36c7966919..a7f0c4437f 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -962,9 +962,14 @@ Returns a list of the form (REAL-FUNCTION DEF ALIASED
REAL-DEF)."
(let ((pt1 (with-current-buffer (help-buffer) (point))))
(help-fns-function-description-header function)
(with-current-buffer (help-buffer)
- (fill-region-as-paragraph (save-excursion (goto-char pt1) (forward-line
0) (point))
- (point))))
- (terpri)(terpri)
+ (fill-region-as-paragraph
+ (save-excursion
+ (goto-char pt1)
+ (forward-line 0)
+ (point))
+ (point)
+ nil t)
+ (ensure-empty-lines)))
(pcase-let* ((`(,real-function ,def ,_aliased ,real-def)
(help-fns--analyze-function function))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 95a021fe5f: Minor fix to how describe-function-1 displays symbols with spaces,
Lars Ingebrigtsen <=