Mercurial > emacs
comparison lisp/simple.el @ 74392:391c63d1de1c
(toggle-truncate-lines): Clarify doc string.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Mon, 04 Dec 2006 05:51:48 +0000 |
parents | 2ba390dee911 |
children | 14b7babc6a00 f1d13e615070 |
comparison
equal
deleted
inserted
replaced
74391:29499112195d | 74392:391c63d1de1c |
---|---|
4327 | 4327 |
4328 (defvaralias 'indicate-unused-lines 'indicate-empty-lines) | 4328 (defvaralias 'indicate-unused-lines 'indicate-empty-lines) |
4329 (defvaralias 'default-indicate-unused-lines 'default-indicate-empty-lines) | 4329 (defvaralias 'default-indicate-unused-lines 'default-indicate-empty-lines) |
4330 | 4330 |
4331 (defun toggle-truncate-lines (&optional arg) | 4331 (defun toggle-truncate-lines (&optional arg) |
4332 "Toggle whether to fold or truncate long lines on the screen. | 4332 "Toggle whether to fold or truncate long lines for the current buffer. |
4333 With arg, truncate long lines iff arg is positive. | 4333 With arg, truncate long lines iff arg is positive. |
4334 Note that in side-by-side windows, truncation is always enabled." | 4334 Note that in side-by-side windows, truncation is always enabled." |
4335 (interactive "P") | 4335 (interactive "P") |
4336 (setq truncate-lines | 4336 (setq truncate-lines |
4337 (if (null arg) | 4337 (if (null arg) |