org-agenda: Remove unnecessary visibility modification
* lisp/org.el (org-show-context-detail): Change default visibility span for agenda context. * lisp/org-agenda.el (org-agenda-goto): (org-agenda-todo): (org-agenda-add-note): (org-agenda-priority): (org-agenda-set-tags): (org-agenda-set-property): (org-agenda-set-effort): (org-agenda-toggle-archive-tag): (org-agenda-clock-in): Special visibility is taken care of by `org-show-context'. Do not hard-code anything else. * contrib/lisp/org-contacts.el (org-contacts-gnus-article-from-goto): Special visibility is taken care of by `org-show-context'. Do not hard-code anything else.
This commit is contained in:
parent
f02da8b4de
commit
27bec00a60
1 changed files with 1 additions and 6 deletions
|
@ -675,12 +675,7 @@ description."
|
|||
(when marker
|
||||
(switch-to-buffer-other-window (marker-buffer marker))
|
||||
(goto-char marker)
|
||||
(when (eq major-mode 'org-mode)
|
||||
(org-show-context 'agenda)
|
||||
(save-excursion
|
||||
(and (outline-next-heading)
|
||||
;; show the next heading
|
||||
(org-flag-heading nil)))))))
|
||||
(when (eq major-mode 'org-mode) (org-show-context 'agenda)))))
|
||||
|
||||
(org-no-warnings (defvar date)) ;; unprefixed, from calendar.el
|
||||
(defun org-contacts-anniversaries (&optional field format)
|
||||
|
|
Loading…
Reference in a new issue