]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
authorGustav Hållberg <gustav@gmail.com>
Sat, 19 Jun 2010 02:39:04 +0000 (19:39 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 19 Jun 2010 02:39:04 +0000 (19:39 -0700)
lisp/ChangeLog
lisp/descr-text.el

index 730cf65c8d57b1af9ca25d137d2ac0a355bd7dff..f0e152d3ffe80b31b832ae0ecf89d63bc537d7dd 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
+
+       * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
+
 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/edebug.el (edebug-read-list):
index 218f2a51d7f8a7402891ac2384f189c92ec2fb5c..735023ceb0218352bd81f39d249fb2b01e43feaf 100644 (file)
@@ -618,7 +618,7 @@ as well as widgets, buttons, overlays, and text properties."
               ,@(if (not eight-bit-p)
                     (let ((unicodedata (describe-char-unicode-data char)))
                       (if unicodedata
-                          (cons (list "Unicode data" " ") unicodedata))))))
+                          (cons (list "Unicode data" "") unicodedata))))))
       (setq max-width (apply 'max (mapcar (lambda (x)
                                             (if (cadr x) (length (car x)) 0))
                                           item-list)))
@@ -642,7 +642,8 @@ as well as widgets, buttons, overlays, and text properties."
                               (window-width))
                       (insert "\n")
                       (indent-to (1+ max-width)))
-                    (insert " " clm)))
+                    (unless (zerop (length clm))
+                      (insert " " clm))))
                 (insert "\n"))))
 
           (when overlays