GNU bug report logs - #18456
[PATCH] Fix a typo in `fit-window-to-buffer' doc string

Previous Next

Package: emacs;

Reported by: Kan-Ru Chen (陳侃如) <kanru <at> kanru.info>

Date: Fri, 12 Sep 2014 02:35:02 UTC

Severity: minor

Tags: patch

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Kan-Ru Chen (陳侃如) <kanru <at> kanru.info>
Subject: bug#18456: closed (Re: bug#18456: [PATCH] Fix a typo in
 `fit-window-to-buffer' doc string)
Date: Fri, 12 Sep 2014 06:33:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#18456: [PATCH] Fix a typo in `fit-window-to-buffer' doc string

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18456 <at> debbugs.gnu.org.

-- 
18456: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18456
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: martin rudalics <rudalics <at> gmx.at>
To: "Kan-Ru Chen (陳侃如)" <kanru <at> kanru.info>, 
 18456-done <at> debbugs.gnu.org
Subject: Re: bug#18456: [PATCH] Fix a typo in `fit-window-to-buffer' doc string
Date: Fri, 12 Sep 2014 08:32:20 +0200
Committed as revision 117495 of the emacs-24 branch.

Thanks, martin


[Message part 3 (message/rfc822, inline)]
From: Kan-Ru Chen (陳侃如) <kanru <at> kanru.info>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Fix a typo in `fit-window-to-buffer' doc string
Date: Fri, 12 Sep 2014 10:33:44 +0800
[0001-Fix-typo-in-fit-window-to-buffer-doc-string.patch (text/x-diff, inline)]
From ca0a101c8af3cbaa059176e0f7da2b72e044cd86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kan-Ru=20Chen=20=28=E9=99=B3=E4=BE=83=E5=A6=82=29?=
 <kanru <at> kanru.info>
Date: Fri, 12 Sep 2014 10:28:32 +0800
Subject: Fix typo in `fit-window-to-buffer' doc string.


diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 66765cd..7287dbc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,8 +1,12 @@
+2014-09-12  Kan-Ru Chen (陳侃如)  <kanru <at> kanru.info>
+
+	* window.el (fit-window-to-buffer): Doc fix.
+
 2014-09-10  Ivan Shmakov  <ivan <at> siamics.net>  (tiny change)
 
 	* desktop.el (desktop-create-buffer): Check that buffers are still live
 	before burying them (bug#18373).
 
 2014-09-09  Glenn Morris  <rgm <at> gnu.org>
 
 	* calendar/diary-lib.el (diary-list-entries):
diff --git a/lisp/window.el b/lisp/window.el
index c73f019..4dc30ff 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -7168,17 +7168,17 @@ the accessible portion of its buffer.  The optional argument
 MAX-HEIGHT specifies a maximum height and defaults to the height
 of WINDOW's frame.  The optional argument MIN-HEIGHT specifies a
 minimum height and defaults to `window-min-height'.  Both
 MAX-HEIGHT and MIN-HEIGHT are specified in lines and include mode
 and header line and a bottom divider, if any.
 
 If WINDOW is part of a horizontal combination and the value of
 the option `fit-window-to-buffer-horizontally' is non-nil, adjust
-WINDOW's height.  The new width of WINDOW is calculated from the
+WINDOW's width.  The new width of WINDOW is calculated from the
 maximum length of its buffer's lines that follow the current
 start position of WINDOW.  The optional argument MAX-WIDTH
 specifies a maximum width and defaults to the width of WINDOW's
 frame.  The optional argument MIN-WIDTH specifies a minimum width
 and defaults to `window-min-width'.  Both MAX-WIDTH and MIN-WIDTH
 are specified in columns and include fringes, margins, a
 scrollbar and a vertical divider, if any.
 
-- 
1.9.1




This bug report was last modified 10 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.