summaryrefslogtreecommitdiff
path: root/lisp/apropos.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-12-03 21:57:10 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-12-03 21:57:10 +0000
commitf7ede2fac5c03d0013a6045f6ff242743939a060 (patch)
tree726c35371117af56664b9f0971175379e7e8f0ee /lisp/apropos.el
parent555e23cf94dbb05ef4f7a69d04a43d4b0c4672a7 (diff)
downloademacs-f7ede2fac5c03d0013a6045f6ff242743939a060.tar.gz
(apropos-print-doc): Fix thinko that caused long labels to
be used in compact layout and vice-versa.
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r--lisp/apropos.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el
index eb6dc8236c4..31830e51223 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -1082,8 +1082,8 @@ If non-nil TEXT is a string that will be printed as a heading."
'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!