Mercurial > emacs
comparison lisp/gnus/gnus-art.el @ 94731:ceb867cd4907
(gnus-article-toggle-truncate-lines): Don't use `iff' in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 08 May 2008 03:22:54 +0000 |
parents | f42ef85caf91 |
children | 64da3838a9aa |
comparison
equal
deleted
inserted
replaced
94730:3bbff46b7130 | 94731:ceb867cd4907 |
---|---|
2230 | 2230 |
2231 (defun gnus-article-toggle-truncate-lines (&optional arg) | 2231 (defun gnus-article-toggle-truncate-lines (&optional arg) |
2232 "Toggle whether to fold or truncate long lines in article the buffer. | 2232 "Toggle whether to fold or truncate long lines in article the buffer. |
2233 If ARG is non-nil and not a number, toggle | 2233 If ARG is non-nil and not a number, toggle |
2234 `gnus-article-truncate-lines' too. If ARG is a number, truncate | 2234 `gnus-article-truncate-lines' too. If ARG is a number, truncate |
2235 long lines iff arg is positive." | 2235 long lines if and only if arg is positive." |
2236 (interactive "P") | 2236 (interactive "P") |
2237 (cond | 2237 (cond |
2238 ((and (numberp arg) (> arg 0)) | 2238 ((and (numberp arg) (> arg 0)) |
2239 (setq gnus-article-truncate-lines t)) | 2239 (setq gnus-article-truncate-lines t)) |
2240 ((numberp arg) | 2240 ((numberp arg) |