(apropos-print-doc): Fix thinko that caused long labels to
be used in compact layout and vice-versa.
This commit is contained in:
parent
555e23cf94
commit
f7ede2fac5
2 changed files with 7 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue