Inhibit recenter following org link when window isn't visible
This commit is contained in:
parent
e7678f4749
commit
59b60a4708
1 changed files with 2 additions and 1 deletions
|
@ -503,7 +503,8 @@ the exported output (i.e. formatters)."
|
||||||
org-follow-timestamp-link
|
org-follow-timestamp-link
|
||||||
org-link-open-as-file
|
org-link-open-as-file
|
||||||
org-link-search)
|
org-link-search)
|
||||||
(recenter))
|
(when (get-buffer-window)
|
||||||
|
(recenter)))
|
||||||
|
|
||||||
(defadvice! +org--strip-properties-from-outline-a (orig-fn path &optional width prefix separator)
|
(defadvice! +org--strip-properties-from-outline-a (orig-fn path &optional width prefix separator)
|
||||||
"Remove link syntax and fix variable height text (e.g. org headings) in the
|
"Remove link syntax and fix variable height text (e.g. org headings) in the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue