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



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to