Mercurial > emacs
comparison lisp/textmodes/two-column.el @ 73307:719af03ef247
(2C-two-columns): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 09 Oct 2006 15:08:13 +0000 |
parents | 3fc5212fe32a |
children | f7702c5f335d 8dd8c8286063 |
comparison
equal
deleted
inserted
replaced
73306:f9d85be1a1de | 73307:719af03ef247 |
---|---|
339 | 339 |
340 ;;;###autoload | 340 ;;;###autoload |
341 (defun 2C-two-columns (&optional buffer) | 341 (defun 2C-two-columns (&optional buffer) |
342 "Split current window vertically for two-column editing. | 342 "Split current window vertically for two-column editing. |
343 \\<global-map>When called the first time, associates a buffer with the current | 343 \\<global-map>When called the first time, associates a buffer with the current |
344 buffer in two-column minor mode (see \\[describe-mode] ). | 344 buffer in two-column minor mode (use \\[describe-mode] once in the mode, |
345 Runs `2C-other-buffer-hook' in the new buffer. | 345 for details.). It runs `2C-other-buffer-hook' in the new buffer. |
346 When called again, restores the screen layout with the current buffer | 346 When called again, restores the screen layout with the current buffer |
347 first and the associated buffer to its right." | 347 first and the associated buffer to its right." |
348 (interactive "P") | 348 (interactive "P") |
349 ;; first go to full width, so that we can certainly split into two windows | 349 ;; first go to full width, so that we can certainly split into two windows |
350 (if (< (window-width) (frame-width)) | 350 (if (< (window-width) (frame-width)) |