changeset 100196:da8a0a35765c

(apropos-print-doc): Fix thinko that caused long labels to be used in compact layout and vice-versa.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 03 Dec 2008 21:57:10 +0000
parents caf4353286ff
children 3076f8588570
files lisp/ChangeLog lisp/apropos.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Dec 03 16:36:59 2008 +0000
+++ b/lisp/ChangeLog	Wed Dec 03 21:57:10 2008 +0000
@@ -1,3 +1,8 @@
+2008-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* apropos.el (apropos-print-doc): Fix thinko that caused long labels to
+	be used in compact layout and vice-versa.
+
 2008-12-03  Juanma Barranquero  <lekktu@gmail.com>
 
 	* w32-fns.el (w32-list-locales): Use `with-output-to-temp-buffer',
--- a/lisp/apropos.el	Wed Dec 03 16:36:59 2008 +0000
+++ b/lisp/apropos.el	Wed Dec 03 21:57:10 2008 +0000
@@ -1082,8 +1082,8 @@
 	 'face 'default 'apropos-symbol (car apropos-item))
       (insert-text-button
        (if apropos-compact-layout
-           (button-type-get type 'apropos-label)
-         (format "<%s>" (button-type-get type 'apropos-short-label)))
+           (format "<%s>" (button-type-get type 'apropos-short-label))
+         (button-type-get type 'apropos-label))
        'type type
        ;; Can't use the default button face, since user may have changed the
        ;; variable!  Just say `no' to variables containing faces!