Browse Source

org.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibility-cycling'

* org.el (org-agenda-inhibit-startup): Rename from
`org-agenda-inhibit-startup-visibility-cycling'.
(org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
`org-agenda-inhibit-startup'.
Bastien Guerry 12 năm trước cách đây
mục cha
commit
a119649923
1 tập tin đã thay đổi với 6 bổ sung12 xóa
  1. 6 12
      lisp/org.el

+ 6 - 12
lisp/org.el

@@ -16660,16 +16660,11 @@ effort string \"2hours\" is equivalent to 120 minutes."
   :type '(alist :key-type (string :tag "Modifier")
 		:value-type (number :tag "Minutes")))
 
-(defcustom org-agenda-inhibit-startup-visibility-cycling t
-  "Turn off visibility cycling when preparing agenda buffers.
-
-When preparing agenda buffers, Org visits agenda files.  When
-this variable is `t' (the default), the visited buffers for
-agenda files will not honor `org-startup-folded' or any
-#+STARTUP: fold option.  Turning this option off may slow down
-the generation of agenda, both because folding takes time and
-because finding entries in folded buffers takes longer than
-finding entries in unfolded ones."
+(defcustom org-agenda-inhibit-startup t
+  "Inhibit startup when preparing agenda buffers.
+When this variable is `t' (the default), the initialization of
+the Org agenda buffers is inhibited: e.g. the visibility state
+is not set, the tables are not re-aligned, etc."
   :type 'boolean
   :version "24.3"
   :group 'org-agenda)
@@ -17013,8 +17008,7 @@ When a buffer is unmodified, it is just killed.  When modified, it is saved
 	(pc '(:org-comment t))
 	(pall '(:org-archived t :org-comment t))
 	(inhibit-read-only t)
-	(org-inhibit-startup-visibility-stuff
-	 org-agenda-inhibit-startup-visibility-cycling)
+	(org-inhibit-startup org-agenda-inhibit-startup)
 	(rea (concat ":" org-archive-tag ":"))
 	bmp file re)
     (save-excursion