> beware that it can also cause interference.
> Here is the code shall someone need it:
And just not to leave the bad code be, here is a different, better way:
(setq my/org-truncate-option nil)
(eval-after-load 'org
(lambda ()
(push (list "truncate" 'my/org-truncate-option 1) org-startup-op
> # -*- truncate-lines: t; -*-
This works nicely, thank you! Never knew about these.
By the way, I got the STARTUP to function. Turns out it's enough to set
truncate-lines variable and the change is picked up automatically (docs
say: "Calls these functions when changed: (#)").
Here is the code sh
On Sunday, 10 Nov 2019 at 18:12, Dmitrii Korobeinikov wrote:
> PS if this turns out to be hairy, I can use .dir-locals.el, but the feature
> would still be a nice-to-have.
You could use file local variables for this, e.g.
# Local Variables:
# truncate-lines: t
# End:
at the end of your org file