emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] ; Do not output two spaces for non-autoloaded object constructor


From: Tim Landscheidt
Subject: [PATCH] ; Do not output two spaces for non-autoloaded object constructor functions
Date: Thu, 25 Jan 2018 02:55:44 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

* lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor): Amend format
to avoid two spaces for non-autoloaded object constructor functions.

Copyright-paperwork-exempt: yes
---
 lisp/emacs-lisp/eieio-opt.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el
index dbec48d038..cfa29a4312 100644
--- a/lisp/emacs-lisp/eieio-opt.el
+++ b/lisp/emacs-lisp/eieio-opt.el
@@ -132,9 +132,9 @@ eieio-help-constructor
          (def (symbol-function ctr)))
       (goto-char (point-min))
       (prin1 ctr)
-      (insert (format " is an %s object constructor function"
+      (insert (format " is an %sobject constructor function"
                      (if (autoloadp def)
-                         "autoloaded"
+                         "autoloaded "
                        "")))
       (when (and (autoloadp def)
                 (null location))
-- 
2.13.6




reply via email to

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