Mercurial > emacs
changeset 70959:23bc72ff5e31
(toggle-truncate-lines): Make arg optional for
backward compatibility.
author | Reiner Steib <Reiner.Steib@gmx.de> |
---|---|
date | Fri, 26 May 2006 12:40:59 +0000 |
parents | 8eb63b1e8cc4 |
children | d876c40c06dd |
files | lisp/ChangeLog lisp/simple.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri May 26 09:27:18 2006 +0000 +++ b/lisp/ChangeLog Fri May 26 12:40:59 2006 +0000 @@ -1,3 +1,8 @@ +2006-05-26 Reiner Steib <Reiner.Steib@gmx.de> + + * simple.el (toggle-truncate-lines): Make arg optional for + backward compatibility. + 2006-05-26 Thien-Thi Nguyen <ttn@gnu.org> * emacs-lisp/ewoc.el (ewoc--current-dll): New var.
--- a/lisp/simple.el Fri May 26 09:27:18 2006 +0000 +++ b/lisp/simple.el Fri May 26 12:40:59 2006 +0000 @@ -4247,7 +4247,7 @@ (defvaralias 'indicate-unused-lines 'indicate-empty-lines) (defvaralias 'default-indicate-unused-lines 'default-indicate-empty-lines) -(defun toggle-truncate-lines (arg) +(defun toggle-truncate-lines (&optional arg) "Toggle whether to fold or truncate long lines on the screen. With arg, truncate long lines iff arg is positive. Note that in side-by-side windows, truncation is always enabled."