emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2ab8d1e: Avoid missing whitespace in help-for-help


From: Stefan Kangas
Subject: master 2ab8d1e: Avoid missing whitespace in help-for-help
Date: Tue, 27 Apr 2021 16:54:42 -0400 (EDT)

branch: master
commit 2ab8d1ee3bd14a388ba3c3391257c337ad39c719
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Avoid missing whitespace in help-for-help
    
    * lisp/help.el (help--for-help-make-commands): Avoid missing
    whitespace before description of command.
    Problem reported by Dmitry Gutov <dgutov@yandex.ru>.
---
 lisp/help.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/help.el b/lisp/help.el
index 63f9974..85312a4 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -210,6 +210,7 @@ Do not call this in the scope of `with-help-window'."
                 ;; "RET" so we can't use it here.
                 (propertize name 'face 'help-key-binding)
               (concat "\\[" name "]"))
+            " " ; ensure we have some whitespace before the description
             (propertize "\t" 'display '(space :align-to 8))
             desc))
        ""))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]