From: John Kitchin Date: Tue, 23 Sep 2014 20:18:24 +0000 (-0400) Subject: modify centering on open note, and show entry X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=commitdiff_plain;h=97a06ccf1e42682d284f7780366ce381d54733a0 modify centering on open note, and show entry --- diff --git a/org-ref.org b/org-ref.org index 5a86177..97d0472 100644 --- a/org-ref.org +++ b/org-ref.org @@ -1723,8 +1723,9 @@ construct the heading by hand." ;; put new entry in notes if we don't find it. (if (re-search-forward (format ":Custom_ID: %s$" key) nil 'end) (progn - (show-subtree) - (outline-previous-visible-heading 1)) + (org-show-entry) + (outline-previous-visible-heading 1) + (recenter-top-bottom 0)) ;; no entry found, so add one (insert (format "\n** TODO %s - %s" year title)) (insert (format"