[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105168: Clarify doc string
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105168: Clarify doc string |
Date: |
Wed, 13 Jul 2011 18:39:49 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105168
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Wed 2011-07-13 18:39:49 +0200
message:
Clarify doc string
* simple.el (toggle-truncate-lines): Clarify what is toggled
(bug#5580). Text by Drew Adams.
modified:
lisp/ChangeLog
lisp/simple.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-07-13 16:15:07 +0000
+++ b/lisp/ChangeLog 2011-07-13 16:39:49 +0000
@@ -1,3 +1,8 @@
+2011-07-13 Lars Magne Ingebrigtsen <address@hidden>
+
+ * simple.el (toggle-truncate-lines): Clarify what is toggled
+ (bug#5580). Text by Drew Adams.
+
2011-07-13 Chong Yidong <address@hidden>
* simple.el (blink-matching-open): Make the error message from the
=== modified file 'lisp/simple.el'
--- a/lisp/simple.el 2011-07-13 16:15:07 +0000
+++ b/lisp/simple.el 2011-07-13 16:39:49 +0000
@@ -5303,11 +5303,12 @@
(defvaralias 'indicate-unused-lines 'indicate-empty-lines)
(defun toggle-truncate-lines (&optional arg)
- "Toggle whether to fold or truncate long lines for the current buffer.
+ "Toggle truncating of long lines for the current buffer.
+When truncating is off, long lines are folded.
With prefix argument ARG, truncate long lines if ARG is positive,
-otherwise don't truncate them. Note that in side-by-side windows,
-this command has no effect if `truncate-partial-width-windows'
-is non-nil."
+otherwise fold them. Note that in side-by-side windows, this
+command has no effect if `truncate-partial-width-windows' is
+non-nil."
(interactive "P")
(setq truncate-lines
(if (null arg)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105168: Clarify doc string,
Lars Magne Ingebrigtsen <=