Merge branch 'develop' of https://github.com/hlissner/doom-emacs into latexRefactor

This commit is contained in:
Patrick Elliott 2018-07-13 12:51:50 +02:00
commit 614c49f43f
9 changed files with 37 additions and 30 deletions

View file

@ -395,13 +395,15 @@ with `org-cycle')."
(unless (eq this-command 'org-shifttab)
(save-excursion
(org-beginning-of-line)
(when (org-at-heading-p)
(when (or (not arg)
(outline-invisible-p (line-end-position)))
(outline-toggle-children)
(unless (outline-invisible-p (line-end-position))
(org-cycle-hide-drawers 'subtree))
t)))))
(when (and (org-at-heading-p)
(or org-cycle-open-archived-trees
(not (member org-archive-tag (org-get-tags))))
(or (not arg)
(outline-invisible-p (line-end-position))))
(outline-toggle-children)
(unless (outline-invisible-p (line-end-position))
(org-cycle-hide-drawers 'subtree))
t))))
;;;###autoload
(defun +org|remove-occur-highlights ()