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'.
This commit is contained in:
Bastien Guerry 2013-01-26 15:10:43 +01:00
parent d0cad612ec
commit a119649923
1 changed files with 6 additions and 12 deletions

View File

@ -16660,16 +16660,11 @@ effort string \"2hours\" is equivalent to 120 minutes."
:type '(alist :key-type (string :tag "Modifier") :type '(alist :key-type (string :tag "Modifier")
:value-type (number :tag "Minutes"))) :value-type (number :tag "Minutes")))
(defcustom org-agenda-inhibit-startup-visibility-cycling t (defcustom org-agenda-inhibit-startup t
"Turn off visibility cycling when preparing agenda buffers. "Inhibit startup when preparing agenda buffers.
When this variable is `t' (the default), the initialization of
When preparing agenda buffers, Org visits agenda files. When the Org agenda buffers is inhibited: e.g. the visibility state
this variable is `t' (the default), the visited buffers for is not set, the tables are not re-aligned, etc."
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."
:type 'boolean :type 'boolean
:version "24.3" :version "24.3"
:group 'org-agenda) :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)) (pc '(:org-comment t))
(pall '(:org-archived t :org-comment t)) (pall '(:org-archived t :org-comment t))
(inhibit-read-only t) (inhibit-read-only t)
(org-inhibit-startup-visibility-stuff (org-inhibit-startup org-agenda-inhibit-startup)
org-agenda-inhibit-startup-visibility-cycling)
(rea (concat ":" org-archive-tag ":")) (rea (concat ":" org-archive-tag ":"))
bmp file re) bmp file re)
(save-excursion (save-excursion