diff lisp/simple.el @ 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 8b271981e0c5
children 093ea85cc89f 46b1096093f5 a8190f7e546e
line wrap: on
line diff
--- 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."