0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 21:02:52 +00:00
org-mode/lisp
Matt Lundin 507244d56b Remove unnecessary invocations of org-mode
* lisp/ox-publish.el: (org-publish-find-title) (org-publish-find-date)
  Fix unnecessary invocations of org-mode with
  org-inhibit-startup.

The functions above call org-mode with org-inhibit-startup in org
buffers that are already open. The result is that these open buffers
lose some crucial local variables during publishing. For instance,
an open buffer will lose its dir-local-variables-alist setting
during publishing. There is no need to call org-mode here, because
org-mode is a) either already initialized in the buffer or b)
initialized via earlier call to find-file-no-select.

This looks to me like a relic of some past time when these functions were
called in temporary buffers that contained copies of the file's contents.
2014-07-29 15:21:21 +02:00
..
Makefile Makefile (clean-install): Also remove ox*.el* files 2013-04-18 14:43:45 +02:00
ob-asymptote.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-awk.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-C.el ob-C: lexical-let requires cl at compilation time 2014-05-28 14:40:52 +02:00
ob-calc.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-clojure.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-comint.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-core.el ob-core, ob-exp, ob-haskell, ob-python: declarations for org-src-preserve-indentations 2014-05-28 14:52:14 +02:00
ob-css.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-ditaa.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-dot.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-emacs-lisp.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-eval.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-exp.el ob-core, ob-exp, ob-haskell, ob-python: declarations for org-src-preserve-indentations 2014-05-28 14:52:14 +02:00
ob-fortran.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-gnuplot.el ob-gnuplot: create a proper table even when handed just a vector 2014-03-25 18:55:13 +01:00
ob-haskell.el ob-core, ob-exp, ob-haskell, ob-python: declarations for org-src-preserve-indentations 2014-05-28 14:52:14 +02:00
ob-io.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-java.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-js.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-keys.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-latex.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-ledger.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-lilypond.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-lisp.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-lob.el Update copyright year for files changed since 2013 2014-01-05 06:35:21 +01:00
ob-makefile.el Backport Emacs changes from r116063 2014-01-18 09:17:14 +01:00
ob-matlab.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-maxima.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-mscgen.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-ocaml.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-octave.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-org.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-perl.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-picolisp.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-plantuml.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-python.el ob-core, ob-exp, ob-haskell, ob-python: declarations for org-src-preserve-indentations 2014-05-28 14:52:14 +02:00
ob-R.el ob-R.el (org-babel-R-assign-elisp): Fix parsing of a one-dimensional value 2014-05-21 04:21:00 +02:00
ob-ref.el ob-ref: Fix "Marker points into wrong buffer" error 2014-01-24 11:26:39 +01:00
ob-ruby.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-sass.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-scala.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-scheme.el Backport Emacs changes from r116063 2014-01-18 09:17:14 +01:00
ob-screen.el ob-screen, use unpredictable temp file name 2014-05-08 12:19:30 -06:00
ob-sh.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-shen.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-sql.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-sqlite.el Update copyright years again. 2014-01-07 14:18:17 +01:00
ob-table.el ob-table.el (org-sbe): Rename from `sbe' 2014-01-12 12:02:25 +01:00
ob-tangle.el ob-tangle: do not run make-directory with nil argument 2014-05-03 10:12:10 +02:00
ob.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-agenda.el org-agenda.el (org-agenda-prepare): Reset preset filters 2014-07-28 19:22:53 +02:00
org-archive.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-attach.el org-attach.el (org-attach-dir): Fix bug 2014-05-21 19:47:13 +02:00
org-bbdb.el Fix BBDB link completion 2014-04-29 11:36:16 +02:00
org-bibtex.el Fix typos: backport revision r117377 from emacs trunk 2014-06-23 09:40:19 +02:00
org-capture.el org-capture.el (org-capture-fill-template): Small fix 2014-07-28 18:08:34 +02:00
org-clock.el org-clock: Update syntax for indentation in clock tables 2014-07-25 11:02:55 +02:00
org-colview.el org-colview.el (org-columns-display-here): Let-bind `fm' 2014-03-05 15:47:41 +01:00
org-compat.el Fix bug when update timestamps on filtered agenda entries 2014-05-26 14:55:50 +02:00
org-crypt.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-ctags.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-datetree.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-docview.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-element.el org-element: Fix parsing multi-line links 2014-07-26 15:08:23 +02:00
org-entities.el org-entities: forward declaration of org-toggle-pretty-entities and org-pretty-entities 2014-05-28 14:16:21 +02:00
org-eshell.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-faces.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-feed.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-footnote.el Reverting "org-footnote: forward declare functions" 2014-06-01 14:28:13 +02:00
org-gnus.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-habit.el org-habit.el (org-habit-insert-consistency-graphs): Don't remove filter overlays 2014-05-22 14:34:46 +02:00
org-id.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-indent.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-info.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-inlinetask.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-install.el org-install.el: Do not warn users. 2013-01-22 14:08:39 +01:00
org-irc.el Backport typo fixes from Emacs revno r115923 2014-01-09 00:47:40 +01:00
org-list.el Fix typos: backport revision r117377 from emacs trunk 2014-06-23 09:40:19 +02:00
org-macro.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-macs.el org-macs: Remove restriction when locating markers 2014-06-15 09:27:16 +02:00
org-mhe.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-mobile.el org.el (org-insert-heading): Be more consistent in respecting content 2014-06-11 17:45:13 +02:00
org-mouse.el org.el: Don't advise `outline-end-of-subtree' 2014-05-23 13:11:57 +02:00
org-pcomplete.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-plot.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-protocol.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org-rmail.el Update copyright year for files changed since 2013 2014-01-05 06:35:21 +01:00
org-src.el Fix org-src-edit interaction with undo. 2014-03-22 09:40:18 +01:00
org-table.el When editing a table formula, point is not necessarily on its referent. 2014-07-23 23:57:06 -04:00
org-timer.el org-timer.el (org-timer-value-string): Always return a positive value 2014-05-24 14:12:56 +02:00
org-w3m.el Update copyright years again. 2014-01-07 14:18:17 +01:00
org.el org.el (org-paste-subtree): Fix match subexpression 2014-07-28 01:02:50 +02:00
ox-ascii.el ox-ascii: Fix tables with a width cookie 2014-06-26 12:17:28 +02:00
ox-beamer.el ox-beamer: Fix environment selection wrt persistent tags 2014-05-19 13:37:16 +02:00
ox-html.el ox-html: Fix spurious "figure" divs on empty paragraphs 2014-05-15 13:44:18 +02:00
ox-icalendar.el ox-icalendar: Tiny fixes 2014-04-23 21:53:58 +02:00
ox-latex.el ox-latex: Fix defcustoms 2014-07-28 15:25:50 +02:00
ox-man.el Update export back-ends wrt "file" link changes 2014-04-17 11:30:15 +02:00
ox-md.el ox-md.el (org-md-headline): Add anchors when exporting with a table of contents 2014-05-29 21:20:55 +02:00
ox-odt.el ox-odt: Silence byte-compiler 2014-07-25 11:20:49 +02:00
ox-org.el ox-org: Tiny refactoring 2014-05-21 21:29:16 +02:00
ox-publish.el Remove unnecessary invocations of org-mode 2014-07-29 15:21:21 +02:00
ox-texinfo.el Update export back-ends wrt "file" link changes 2014-04-17 11:30:15 +02:00
ox.el ox: Implement predicate for export blocks 2014-07-27 14:25:44 +02:00