summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-12-06 21:51:37 +0100
committerStefan Kangas <stefan@marxist.se>2021-12-06 22:19:58 +0100
commite637afce45e9a982e284d344a35b523d74d88010 (patch)
tree918727e1a3b7febd19433cfa3c1fa0b0c0b04175 /lisp/emacs-lisp/bytecomp.el
parent79335aa1857f85fd0ce7557200361bcba7af8466 (diff)
downloademacs-e637afce45e9a982e284d344a35b523d74d88010.tar.gz
emacs-e637afce45e9a982e284d344a35b523d74d88010.tar.bz2
emacs-e637afce45e9a982e284d344a35b523d74d88010.zip
Remove spurious space in byte-compiler warning
* lisp/emacs-lisp/bytecomp.el (byte-compile-docstring-length-warn): Remove spurious space in byte-compiler warning. * test/lisp/emacs-lisp/bytecomp-tests.el ("warn-wide-docstring-defun.el"): Update test.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index d6b25e02795..b1afa6fe611 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1712,10 +1712,10 @@ It is too wide if it has any lines longer than the largest of
(nth 2 form)))))
(when (and (consp name) (eq (car name) 'quote))
(setq name (cadr name)))
- (setq name (if name (format " `%s'" name) ""))
+ (setq name (if name (format " `%s' " name) ""))
(when (and kind docs (stringp docs)
(byte-compile--wide-docstring-p docs col))
- (byte-compile-warn "%s%s docstring wider than %s characters"
+ (byte-compile-warn "%s%sdocstring wider than %s characters"
kind name col))))
form)