emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to enable truncate-lines in orgmode by default?
@ 2018-06-15 16:11 ST
  2018-06-15 17:02 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: ST @ 2018-06-15 16:11 UTC (permalink / raw)
  To: Emacs-orgmode

Hello,

I would like to enable truncate-lines in orgmode by default - how can I
do that?

Here is what I tried to put in my config, but it doesn't seem to help:

(add-hook 'org-mode-hook 
          (lambda ()
            (setq truncate-lines t)))

Thank you!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to enable truncate-lines in orgmode by default?
  2018-06-15 16:11 How to enable truncate-lines in orgmode by default? ST
@ 2018-06-15 17:02 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-06-15 17:02 UTC (permalink / raw)
  To: ST; +Cc: Emacs-orgmode

Hello,

ST <smntov@gmail.com> writes:

> I would like to enable truncate-lines in orgmode by default - how can I
> do that?

By default, Org enables truncate-lines.

See also `org-startup-truncated'.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-15 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-15 16:11 How to enable truncate-lines in orgmode by default? ST
2018-06-15 17:02 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).