emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] no blank lines in org file opened in Emacs on Windows


From: Carsten Dominik
Subject: Re: [Orgmode] no blank lines in org file opened in Emacs on Windows
Date: Fri, 20 Apr 2007 18:47:41 +0200


On Apr 20, 2007, at 16:59, Scott Jaderholm wrote:
  (run-hooks 'outline-view-change-hook))

(add-hook 'outline-mode-hook 'hide-sublevels)

This is a misunderstanding, sorry for not being clearer:
I meant:

(add-hook 'outline-mode-hook
  (lambda ()
    (defun hide-sublevels ......

where the defun .... is the full definition of hide-sublevels from the
emacs 21 outline.  This to override the new definition *after*
loading the old one.

Remember that this is only a hack - maybe a better solution would be to use org-cycle-hook and to show those empty lines with a function in there.

- Carsten





reply via email to

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