* simple.el (toggle-truncate-lines): New command.
+2002-07-04 Per Abrahamsen <abraham@dina.kvl.dk>
+
+ * simple.el (toggle-truncate-lines): New command.
+
2002-07-04 Miles Bader <miles@gnu.org>
* comint.el (comint-displayed-dynamic-completions): New variable.
(prin1 selective-display t)
(princ "." t))
+(defun toggle-truncate-lines (arg)
+ "Toggle whether to fold or truncate long lines on the screen.
+With arg, truncate long lines iff arg is positive."
+ (interactive "P")
+ (setq truncate-lines
+ (if (null arg)
+ (not truncate-lines)
+ (> (prefix-numeric-value arg) 0))))
+
(defvar overwrite-mode-textual " Ovwrt"
"The string displayed in the mode line when in overwrite mode.")
(defvar overwrite-mode-binary " Bin Ovwrt"