changeset 87789:16e347bbe4ce

(describe-mode): Pass the right buffer to format-mode-line.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 16 Jan 2008 15:55:15 +0000
parents 6d98607cec67
children d4459bad23ea
files lisp/ChangeLog lisp/help.el
diffstat 2 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jan 16 08:57:42 2008 +0000
+++ b/lisp/ChangeLog	Wed Jan 16 15:55:15 2008 +0000
@@ -1,3 +1,7 @@
+2008-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* help.el (describe-mode): Pass the right buffer to format-mode-line.
+
 2008-01-16  Glenn Morris  <rgm@gnu.org>
 
 	* comint.el (comint-regexp-arg): Fix no-input case.
@@ -14,8 +18,8 @@
 2008-01-16  Ulf Jasper  <ulf.jasper@web.de>
 
 	* calendar/icalendar.el (icalendar-version): Increase to 0.16.
-	(icalendar-export-file, icalendar-import-file): Restore
-	significant trailing whitespace in `interactive' prompts.
+	(icalendar-export-file, icalendar-import-file):
+	Restore significant trailing whitespace in `interactive' prompts.
 
 2008-01-16  Tom Tromey  <tromey@redhat.com>
 
@@ -24,8 +28,8 @@
 	(icalendar--find-time-zone): New functions.
 	(icalendar--decode-isodatetime): Add `zone' argument, passed to
 	`decode-time'.  Doc fix.
-	(icalendar--convert-ical-to-diary): Compute zone-map.  Pass
-	timezone to icalendar--decode-isodatetime.
+	(icalendar--convert-ical-to-diary): Compute zone-map.
+	Pass timezone to icalendar--decode-isodatetime.
 
 2008-01-16  Alan Mackenzie  <acm@muc.de>
 
--- a/lisp/help.el	Wed Jan 16 08:57:42 2008 +0000
+++ b/lisp/help.el	Wed Jan 16 15:55:15 2008 +0000
@@ -860,7 +860,7 @@
 	(let ((mode mode-name))
 	  (with-current-buffer standard-output
             (let ((start (point)))
-              (insert (format-mode-line mode))
+              (insert (format-mode-line mode nil nil buffer))
               (add-text-properties start (point) '(face bold)))))
 	(princ " mode:\n")
 	(princ (documentation major-mode))))))