org-mode/lisp
Christophe Junke 9dae6f04b1 Let `org-agenda-time-grid' control if the grid is displayed.
* org-agenda.el (org-agenda-list): Ensure that the
list returned by `org-agenda-add-time-grid-maybe' is appended
to `rtnall' before checking if the latter is emtpy.

In the case where rtnall is empty (no item for current day), we do not
call org-agenda-add-time-grid-maybe.  This seems bogus because that
function is already computing whether the time grid must be included,
and does so according to the user's preferences.

In particular, the `org-agenda-time-grid' variable has a
'require-timed' parameter controlling the visibility of the time grid.

So, this patch :

 - removes the premature check for rtnall being empty,
 - inconditionally calls org-agenda-add-time-grid-maybe,
 - and finally checks the emptiness of the resulting list
   before pretty printing.

TINYCHANGE
2012-08-07 23:44:08 +02:00
..
Makefile Makefile: enable one-process-per-source compilations again 2012-08-04 15:59:08 +02:00
ob-asymptote.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-awk.el replace flet/labels with org-flet/org-labels 2012-07-25 09:23:57 -06:00
ob-C.el Let ob-C and ob-fortran work correctly on Windows/Cygwin 2012-07-25 12:02:01 -06:00
ob-calc.el strip quotes from calc internal representations 2012-07-25 09:32:03 -06:00
ob-clojure.el
ob-comint.el anonymous function instead of using flet 2012-07-31 08:14:12 -06:00
ob-css.el
ob-ditaa.el
ob-dot.el
ob-emacs-lisp.el
ob-eval.el
ob-exp.el Re-apply (correctly): Move org-element.el from contrib/lisp to lisp/. 2012-07-28 07:06:25 +02:00
ob-fortran.el Let ob-C and ob-fortran work correctly on Windows/Cygwin 2012-07-25 12:02:01 -06:00
ob-gnuplot.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-haskell.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-io.el integrating ob-scala and ob-io into Org-mode, with code cleanup 2012-02-28 19:45:01 -07:00
ob-java.el
ob-js.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-keys.el Fix copyright years in maint. 2012-03-17 16:31:04 +01:00
ob-latex.el
ob-ledger.el
ob-lilypond.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-lisp.el
ob-lob.el replace flet/labels with org-flet/org-labels 2012-07-25 09:23:57 -06:00
ob-matlab.el
ob-maxima.el Org-Babel: fix maxima invocation without explicit parameters 2012-05-08 14:13:27 +02:00
ob-mscgen.el More copyright year fixes. 2012-02-19 08:16:42 -07:00
ob-ocaml.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-octave.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-org.el
ob-perl.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-picolisp.el
ob-plantuml.el adding a :java header argument to plantuml 2012-05-19 20:37:54 -04:00
ob-python.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-R.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-ref.el replace flet/labels with org-flet/org-labels 2012-07-25 09:23:57 -06:00
ob-ruby.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-sass.el
ob-scala.el Fix the maint branch. 2012-03-19 20:27:28 +01:00
ob-scheme.el Add :version to ob-scheme.el option. 2012-04-03 13:44:15 +02:00
ob-screen.el
ob-sh.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
ob-shen.el
ob-sql.el Add dbi support to sql babel mode 2012-05-16 19:50:43 -04:00
ob-sqlite.el
ob-table.el
ob-tangle.el more efficient org-babel-with-temp-filebuffer 2012-08-03 13:34:10 -06:00
ob.el improved handling of results that look like elisp 2012-08-06 09:37:09 -06:00
org-agenda.el Let `org-agenda-time-grid' control if the grid is displayed. 2012-08-07 23:44:08 +02:00
org-archive.el org-archive.el (org-datetree-find-date-create): Declare. 2012-08-05 20:02:36 +02:00
org-ascii.el Use (derived-mode-p 'org-mode) instead of (eq major-mode 'org-mode). 2012-04-21 00:43:16 +02:00
org-attach.el
org-bbdb.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-beamer.el Allow beamer export to inherit some properties 2012-04-22 16:33:24 +02:00
org-bibtex.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
org-capture.el org-capture.el: Fix docstring by adding Gnus to the list of mail clients. 2012-08-03 14:01:19 +02:00
org-clock.el Introduce a new special property CLOCKSUM_T for today's clocked time. 2012-08-05 11:12:04 +02:00
org-colview-xemacs.el Match #+name/#+tblname/#+tblfm along with uppercase twins. 2012-04-23 12:48:33 +02:00
org-colview.el Fix two compiler warnings. 2012-08-05 18:59:51 +02:00
org-compat.el replace flet/labels with org-flet/org-labels 2012-07-25 09:23:57 -06:00
org-crypt.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
org-ctags.el Merge branch 'maint' 2012-04-26 22:43:36 +02:00
org-datetree.el Allow datetree to find years with trailing whitespace. 2012-05-25 23:22:09 +02:00
org-docbook.el Fix docstring and comment typos. 2012-07-11 18:03:02 +02:00
org-docview.el
org-element.el org-element.el (org-narrow-to-element): Autoload. 2012-08-06 20:11:33 +02:00
org-entities.el Merge branch 'maint' 2012-07-11 17:58:03 +02:00
org-eshell.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-exp-blocks.el org-exp-blocks.el: Fix compiler warning. 2012-08-06 19:12:51 +02:00
org-exp.el org-exp.el (org-export-language-setup): Use "Sommaire" for the translation of "Table of contents". 2012-07-31 12:30:30 +02:00
org-faces.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
org-feed.el
org-footnote.el Don't call org-footnote-unique label if using random labels 2012-05-06 10:10:25 +02:00
org-freemind.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
org-gnus.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-habit.el Add ability to show all (even unscheduled) habits on today agenda, by 2012-05-28 14:56:23 -04:00
org-html.el org-html.el: Make footnotes unique to an entry 2012-08-02 18:22:06 +02:00
org-icalendar.el Fix two compiler warnings. 2012-08-05 18:59:51 +02:00
org-id.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-indent.el Replace obsolete variable `buffer-substring-filters'. 2012-04-28 21:36:58 +02:00
org-info.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-inlinetask.el
org-irc.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-jsinfo.el
org-latex.el Fix docstring and comment typos. 2012-07-11 18:03:02 +02:00
org-list.el org-list.el (org-mark-list): Delete. 2012-07-31 17:15:07 +02:00
org-lparse.el Merge remote-tracking branch 'origin/maint' 2012-06-28 16:08:14 +05:30
org-mac-message.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
org-macs.el Add punctuation at the end of the first line of docstrings. Code cleanup. 2012-07-30 10:08:15 +02:00
org-mew.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-mhe.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-mks.el
org-mobile.el org-mobile.el: Fix tags gathering again. 2012-08-04 10:22:20 +02:00
org-mouse.el replace flet/labels with org-flet/org-labels 2012-07-25 09:23:57 -06:00
org-odt.el Merge origin/maint 2012-07-19 19:29:24 +05:30
org-pcomplete.el org-pcomplete.el: Fix compiler warning. 2012-08-06 16:42:24 +02:00
org-plot.el replace flet/labels with org-flet/org-labels 2012-07-25 09:23:57 -06:00
org-protocol.el Merge branch 'maint' into master-merge-maint 2012-04-21 16:05:22 +02:00
org-publish.el Make the column mandatory after #+include:. 2012-05-23 01:26:45 +02:00
org-remember.el Cure byte-compilation errors in org-remember.el 2012-05-08 03:25:29 -05:00
org-rmail.el org-rmail.el: Fix compiler warnings. 2012-08-07 13:27:18 +02:00
org-special-blocks.el org-special-blocks.el: Prevent errors by first checking `org-line' is not nil. 2012-06-28 11:19:56 +02:00
org-src.el Fix some docstrings format. 2012-07-11 19:33:29 +02:00
org-table.el Fix compilation warning. 2012-08-01 16:20:22 +02:00
org-taskjuggler.el
org-timer.el org-timer.el (org-timer-pause-or-continue, org-timer-stop): Autoload. 2012-07-27 17:21:33 +02:00
org-vm.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-w3m.el
org-wl.el Delete org-make-link' and replace previous occurrences by concat'. 2012-08-03 19:03:21 +02:00
org-xoxo.el
org.el Do not make a special case for inlinetasks when marking a subtree 2012-08-07 13:38:32 +02:00