org-mode/lisp
Pierre Téchoueyres befc92b9c0 org-agenda: Call `recenter' only if buffer has a window
* lisp/org-agenda.el (org-agenda-list): Condition the call to
  `recenter` only when the buffer has a window associated.

This permit to call `org-agenda-list` in a `with-temp-buffer` like
below:

(with-temp-buffer
  (let ((org-agenda-sticky nil)
        (org-agenda-buffer-tmp-name (buffer-name)))
    (org-agenda-list 1)
    (buffer-string))
2018-04-05 16:45:40 +02:00
..
Makefile Makefile (clean-install): Also remove ox*.el* files 2013-04-18 14:43:45 +02:00
ob-C.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-J.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-R.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-abc.el Update copyright years 2018-01-07 00:27:54 -05:00
ob-asymptote.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-awk.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-calc.el Backport commit 69107f347 from Emacs 2018-02-18 16:32:41 -05:00
ob-clojure.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-comint.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-coq.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-core.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
ob-css.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ditaa.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-dot.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ebnf.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-emacs-lisp.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-eval.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-exp.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-forth.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-fortran.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-gnuplot.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-groovy.el Replace dash by underscore in temp file names. 2018-02-24 21:39:50 +01:00
ob-haskell.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-hledger.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-io.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-java.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-js.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-keys.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-latex.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ledger.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-lilypond.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-lisp.el Backport commit a6a821d29 from Emacs 2018-03-26 00:01:40 -04:00
ob-lob.el ob-lob: Fix Babel calls with external references 2018-01-22 19:27:13 +01:00
ob-lua.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-makefile.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-matlab.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-maxima.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-mscgen.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ocaml.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-octave.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-org.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
ob-perl.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-picolisp.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
ob-plantuml.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-processing.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-python.el ob-python: Small refactoring 2018-04-03 21:27:59 +02:00
ob-ref.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-ruby.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-sass.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-scheme.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-screen.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-sed.el Update copyright years 2018-01-07 00:27:54 -05:00
ob-shell.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-shen.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-sql.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-sqlite.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-stan.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-table.el Revert "ob-table: Fix org-sbe's handling of quotes in cell values" 2018-03-25 22:55:24 +02:00
ob-tangle.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob-vala.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ob.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-agenda.el org-agenda: Call `recenter' only if buffer has a window 2018-04-05 16:45:40 +02:00
org-archive.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-attach.el Update copyright years 2018-01-07 00:27:54 -05:00
org-bbdb.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-bibtex.el Update copyright years 2018-01-07 00:27:54 -05:00
org-capture.el org-capture.el: Fix docstring 2018-03-20 12:38:24 +01:00
org-clock.el org-clock: Fix face for clock overruns 2018-03-06 10:13:12 +01:00
org-colview.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-compat.el ox-publish: Follow symlink directories 2018-02-13 14:06:56 +01:00
org-crypt.el Update copyright years 2018-01-07 00:27:54 -05:00
org-ctags.el Update copyright years 2018-01-07 00:27:54 -05:00
org-datetree.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-docview.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-duration.el Update copyright years 2018-01-07 00:27:54 -05:00
org-element.el Backport commit f2caf08ca from Emacs 2018-03-07 22:07:25 -05:00
org-entities.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-eshell.el Update copyright years 2018-01-07 00:27:54 -05:00
org-eww.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
org-faces.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-feed.el org-feed: Do not stop feed update when a feed is unavailable 2018-02-03 15:23:47 +01:00
org-footnote.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-gnus.el org-gnus: Fix `org-gnus-store-link' 2018-03-03 23:33:17 +01:00
org-habit.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-id.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-indent.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-info.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-inlinetask.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-install.el org-install.el: Do not warn users. 2013-01-22 14:08:39 +01:00
org-irc.el Update copyright years 2018-01-07 00:27:54 -05:00
org-lint.el Update copyright years 2018-01-07 00:27:54 -05:00
org-list.el lisp/org-list.el: Enhance error message 2018-03-22 02:22:15 +01:00
org-macro.el org-macro: Fix infloop when re-defining built-in macros 2018-03-23 23:30:06 +01:00
org-macs.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-mhe.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-mobile.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-mouse.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-pcomplete.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-plot.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-protocol.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
org-rmail.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-src.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-table.el Backport commit 16faff6a4 from Emacs 2018-03-09 23:41:47 -05:00
org-timer.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org-w3m.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
org.el org.el: Fix whitespace issue blocking upstream commit 2018-03-27 18:21:31 -04:00
ox-ascii.el Update copyright years 2018-01-07 00:27:54 -05:00
ox-beamer.el ox-beamer: Update copyright year 2018-01-02 11:51:26 +01:00
ox-html.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
ox-icalendar.el Use https for links to orgmode.org 2018-01-19 18:14:58 +01:00
ox-latex.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
ox-man.el Update copyright years 2018-01-07 00:27:54 -05:00
ox-md.el Update copyright years 2018-01-07 00:27:54 -05:00
ox-odt.el Backport commit 69107f347 from Emacs 2018-02-18 16:32:41 -05:00
ox-org.el Update copyright years 2018-01-07 00:27:54 -05:00
ox-publish.el ox-publish: Fix last commit 2018-02-15 14:51:26 +01:00
ox-texinfo.el Backport commit 66a4e651f from Emacs 2018-02-18 16:32:41 -05:00
ox.el ox: Fix select tags and exclude tags and tags hierarchy 2018-02-04 00:12:45 +01:00