From: Reiner Steib Date: Fri, 26 May 2006 12:40:59 +0000 (+0000) Subject: (toggle-truncate-lines): Make arg optional for X-Git-Tag: emacs-pretest-22.0.90~2296 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b3228584876d117a9d53095e4cff190f97fe8333;p=emacs.git (toggle-truncate-lines): Make arg optional for backward compatibility. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ec6e6aab37e..7ebc95ccfd6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-05-26 Reiner Steib + + * simple.el (toggle-truncate-lines): Make arg optional for + backward compatibility. + 2006-05-26 Thien-Thi Nguyen * emacs-lisp/ewoc.el (ewoc--current-dll): New var. diff --git a/lisp/simple.el b/lisp/simple.el index 2209603d91c..5d52d867beb 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4247,7 +4247,7 @@ The variable `selective-display' has a separate value for each buffer." (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."