On Tue, May 22, 2012 at 05:49:00PM +0200, Marius Hofert wrote:
> Hi,
>
> I am working with Xubuntu 12.04 on a MacBook Air (4,1) with org-mode version
> 7.8.09. I use the following code to get "Wrap at Window Edge" in
> org-agenda-mode:
>
> ,----
> | (add-hook 'org-agenda-mode-hook
> |       '(lambda()
> |          (if truncate-lines (toggle-truncate-lines -1))
> |          ))
> `----
>
> How can I get "Wrap at Window Edge" in all .org files? The only idea I found 
> is
> https://plus.google.com/u/0/113859563190964307534/posts/RVBN7KvQtB7 but that
> unfortunately did not work.
>
> Cheers,
>
> Marius
>

This will set wrapping globally from your .emacs file:

(setq-default truncate-lines nil)



------------------------------------------------------------------
Russell Adams                            rlad...@adamsinfoserv.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

Reply via email to