Commit f7ede2fa authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(apropos-print-doc): Fix thinko that caused long labels to

be used in compact layout and vice-versa.
parent 555e23cf
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',
......
......@@ -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!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment