aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-01-16 15:55:15 +0000
committerStefan Monnier2008-01-16 15:55:15 +0000
commit145fe412ba3d33d81462ce39bb2e757b0dea93d7 (patch)
tree3b8f59f44049d1beab4d04f82f39236f4cd4727d
parenta9c6b41c6351342b05f1c1c236829d795fce21e8 (diff)
downloademacs-145fe412ba3d33d81462ce39bb2e757b0dea93d7.tar.gz
emacs-145fe412ba3d33d81462ce39bb2e757b0dea93d7.zip
(describe-mode): Pass the right buffer to format-mode-line.
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/help.el2
2 files changed, 9 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b1d4e26dfdb..334412d7d0f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * help.el (describe-mode): Pass the right buffer to format-mode-line.
4
12008-01-16 Glenn Morris <rgm@gnu.org> 52008-01-16 Glenn Morris <rgm@gnu.org>
2 6
3 * comint.el (comint-regexp-arg): Fix no-input case. 7 * comint.el (comint-regexp-arg): Fix no-input case.
@@ -14,8 +18,8 @@
142008-01-16 Ulf Jasper <ulf.jasper@web.de> 182008-01-16 Ulf Jasper <ulf.jasper@web.de>
15 19
16 * calendar/icalendar.el (icalendar-version): Increase to 0.16. 20 * calendar/icalendar.el (icalendar-version): Increase to 0.16.
17 (icalendar-export-file, icalendar-import-file): Restore 21 (icalendar-export-file, icalendar-import-file):
18 significant trailing whitespace in `interactive' prompts. 22 Restore significant trailing whitespace in `interactive' prompts.
19 23
202008-01-16 Tom Tromey <tromey@redhat.com> 242008-01-16 Tom Tromey <tromey@redhat.com>
21 25
@@ -24,8 +28,8 @@
24 (icalendar--find-time-zone): New functions. 28 (icalendar--find-time-zone): New functions.
25 (icalendar--decode-isodatetime): Add `zone' argument, passed to 29 (icalendar--decode-isodatetime): Add `zone' argument, passed to
26 `decode-time'. Doc fix. 30 `decode-time'. Doc fix.
27 (icalendar--convert-ical-to-diary): Compute zone-map. Pass 31 (icalendar--convert-ical-to-diary): Compute zone-map.
28 timezone to icalendar--decode-isodatetime. 32 Pass timezone to icalendar--decode-isodatetime.
29 33
302008-01-16 Alan Mackenzie <acm@muc.de> 342008-01-16 Alan Mackenzie <acm@muc.de>
31 35
diff --git a/lisp/help.el b/lisp/help.el
index 68d3e33fe0a..24f1e74d71a 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -860,7 +860,7 @@ whose documentation describes the minor mode."
860 (let ((mode mode-name)) 860 (let ((mode mode-name))
861 (with-current-buffer standard-output 861 (with-current-buffer standard-output
862 (let ((start (point))) 862 (let ((start (point)))
863 (insert (format-mode-line mode)) 863 (insert (format-mode-line mode nil nil buffer))
864 (add-text-properties start (point) '(face bold))))) 864 (add-text-properties start (point) '(face bold)))))
865 (princ " mode:\n") 865 (princ " mode:\n")
866 (princ (documentation major-mode)))))) 866 (princ (documentation major-mode))))))