From b3228584876d117a9d53095e4cff190f97fe8333 Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Fri, 26 May 2006 12:40:59 +0000 Subject: [PATCH] (toggle-truncate-lines): Make arg optional for backward compatibility. --- lisp/ChangeLog | 5 +++++ lisp/simple.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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." -- 2.39.5