From: "Kan-Ru Chen" <kanru@kanru.info>
To: 18456@debbugs.gnu.org
Subject: bug#18456: [PATCH] Fix a typo in `fit-window-to-buffer' doc string
Date: Fri, 12 Sep 2014 10:33:44 +0800 [thread overview]
Message-ID: <87mwa5d0tz.fsf@kanru-mozilla.corp.tpe1.mozilla.com> (raw)
[-- Attachment #1: 0001-Fix-typo-in-fit-window-to-buffer-doc-string.patch --]
[-- Type: text/x-diff, Size: 2026 bytes --]
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@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@kanru.info>
+
+ * window.el (fit-window-to-buffer): Doc fix.
+
2014-09-10 Ivan Shmakov <ivan@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@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
next reply other threads:[~2014-09-12 2:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-12 2:33 Kan-Ru Chen [this message]
2014-09-12 6:32 ` bug#18456: [PATCH] Fix a typo in `fit-window-to-buffer' doc string martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwa5d0tz.fsf@kanru-mozilla.corp.tpe1.mozilla.com \
--to=kanru@kanru.info \
--cc=18456@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.