From 97a06ccf1e42682d284f7780366ce381d54733a0 Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Tue, 23 Sep 2014 16:18:24 -0400 Subject: [PATCH] modify centering on open note, and show entry --- org-ref.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" -- 2.39.2