diff options
| author | Stefan Monnier | 2008-12-03 21:57:10 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-12-03 21:57:10 +0000 |
| commit | f7ede2fac5c03d0013a6045f6ff242743939a060 (patch) | |
| tree | 726c35371117af56664b9f0971175379e7e8f0ee | |
| parent | 555e23cf94dbb05ef4f7a69d04a43d4b0c4672a7 (diff) | |
| download | emacs-f7ede2fac5c03d0013a6045f6ff242743939a060.tar.gz emacs-f7ede2fac5c03d0013a6045f6ff242743939a060.zip | |
(apropos-print-doc): Fix thinko that caused long labels to
be used in compact layout and vice-versa.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/apropos.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 674ee0959a0..776db585041 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-12-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * apropos.el (apropos-print-doc): Fix thinko that caused long labels to | ||
| 4 | be used in compact layout and vice-versa. | ||
| 5 | |||
| 1 | 2008-12-03 Juanma Barranquero <lekktu@gmail.com> | 6 | 2008-12-03 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * w32-fns.el (w32-list-locales): Use `with-output-to-temp-buffer', | 8 | * w32-fns.el (w32-list-locales): Use `with-output-to-temp-buffer', |
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." | |||
| 1082 | 'face 'default 'apropos-symbol (car apropos-item)) | 1082 | 'face 'default 'apropos-symbol (car apropos-item)) |
| 1083 | (insert-text-button | 1083 | (insert-text-button |
| 1084 | (if apropos-compact-layout | 1084 | (if apropos-compact-layout |
| 1085 | (button-type-get type 'apropos-label) | 1085 | (format "<%s>" (button-type-get type 'apropos-short-label)) |
| 1086 | (format "<%s>" (button-type-get type 'apropos-short-label))) | 1086 | (button-type-get type 'apropos-label)) |
| 1087 | 'type type | 1087 | 'type type |
| 1088 | ;; Can't use the default button face, since user may have changed the | 1088 | ;; Can't use the default button face, since user may have changed the |
| 1089 | ;; variable! Just say `no' to variables containing faces! | 1089 | ;; variable! Just say `no' to variables containing faces! |