]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid missing whitespace in help-for-help
authorStefan Kangas <stefan@marxist.se>
Tue, 27 Apr 2021 20:53:04 +0000 (22:53 +0200)
committerStefan Kangas <stefan@marxist.se>
Tue, 27 Apr 2021 20:54:05 +0000 (22:54 +0200)
* 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

index 63f9974ef6d11382f1e517967f3e856b428c376c..85312a411adc8cd47873c2c9902dd7ef360f1d28 100644 (file)
@@ -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))
        ""))