[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to prevent 'line-wrap'?

From: Thorsten Bonow
Subject: Re: how to prevent 'line-wrap'?
Date: Fri, 23 Jul 2004 11:35:11 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)

>>>>> "Chang" == Chang PilHun <address@hidden> writes:

    Chang> in vim, I can do this ":set" nowrap.(and recover by ":set wrap") How
    Chang> can I do these actions in emacs?

The function `auto-fill-mode' toggles "word-wrapping" in Emacs.

To enable it for all text based modes, I have

;; ** auto-fill for all text modes
(add-hook 'text-mode-hook 'auto-fill-mode 1)

in my init file.


Contact information and PGP key at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]