summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2014-06-18 11:22:58 (GMT)
committer Nicolas Goaziou <mail@nicolasgoaziou.fr>2014-06-19 20:32:23 (GMT)
commitf336de2f822a882872c737d985c1d8f25b83358f (patch)
tree29b9ae48fb15dc0bfae14f8640402aeac884c480
parent8e49c823fd0fd9cfd0e541a5a88011795d2a855e (diff)
downloadorg-mode-f336de2f822a882872c737d985c1d8f25b83358f.zip
org-mode-f336de2f822a882872c737d985c1d8f25b83358f.tar.gz
org-element: Tweak cache parameters
* lisp/org-element.el (org-element-cache-sync-idle-time, org-element-cache-sync-break): Increase values as synchronizing cache too makes editing somewhat sluggish without any benefit.
-rw-r--r--lisp/org-element.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-element.el b/lisp/org-element.el
index 280cf59..abf5f62 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -4639,7 +4639,7 @@ indentation is not done with TAB characters."
"Non nil when Org parser should cache its results.
This is mostly for debugging purpose.")
-(defvar org-element-cache-sync-idle-time 0.4
+(defvar org-element-cache-sync-idle-time 0.6
"Length, in seconds, of idle time before syncing cache.")
(defvar org-element-cache-sync-duration (seconds-to-time 0.04)
@@ -4648,7 +4648,7 @@ If the synchronization is not over after this delay, the process
pauses and resumes after `org-element-cache-sync-break'
seconds.")
-(defvar org-element-cache-sync-break (seconds-to-time 0.2)
+(defvar org-element-cache-sync-break (seconds-to-time 0.3)
"Duration, as a time value, of the pause between synchronizations.
See `org-element-cache-sync-duration' for more information.")