org-mode/lisp
Dan Davison 695b15da6d Allow empty strings in minted/listings latex options
* lisp/org-exp.el (org-export-format-source-code-or-example):
Allow empty string as second element in minted/listings options

Both

    (setq org-export-latex-minted-options
          '(("frame" "lines")
            ("fontsize" "\\scriptsize")
            ("linenos" "")))

and

    (setq org-export-latex-minted-options
          '(("frame" "lines")
            ("fontsize" "\\scriptsize")
            ("linenos")))

will result in latex like

\begin{minted}[frame=lines,fontsize=\scriptsize,linenos]{common-lisp}
2011-02-15 15:01:25 +00:00
..
ob-C.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-R.el ob-R: Don't handle errors in R; expose to Org-babel error handling. 2010-12-22 15:19:57 +00:00
ob-asymptote.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-calc.el don't require calc-trail when on xemacs, Thanks to Michael Sperber 2011-01-05 09:37:12 -07:00
ob-clojure.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-comint.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-css.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-ditaa.el ob-ditaa: throw error when evaluated and :file header argument is missing 2011-01-27 15:42:27 -07:00
ob-dot.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-emacs-lisp.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-eval.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-exp.el ob: Fix bug in export of lob one-liners 2011-02-07 22:27:14 +00:00
ob-gnuplot.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-haskell.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-js.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-keys.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-latex.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-ledger.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-lisp.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-lob.el ob: Add prefix to minibuffer prompt 2011-01-31 19:36:43 +00:00
ob-matlab.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-mscgen.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-ocaml.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-octave.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-org.el ob-org: Padding code block with an empty title on LaTeX export. 2010-12-13 13:23:10 -07:00
ob-perl.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-plantuml.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-python.el ob: python: Don't bother removing echoed output in value mode 2011-02-13 11:03:58 +00:00
ob-ref.el ob: don't disturb windows when resolving references in external files 2011-01-31 19:36:43 +00:00
ob-ruby.el ob: language-specific changes in response to :file arg changes 2010-12-21 14:19:24 +00:00
ob-sass.el ob-sass: uses ob-eval for better error reporting 2010-12-21 20:17:18 -07:00
ob-scheme.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-screen.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-sh.el ob-sh: customize shell quoting format with org-babel-sh-var-quote-fmt. 2011-01-18 09:23:53 -07:00
ob-sql.el ob-sql: header line in results table 2010-12-21 10:33:37 -07:00
ob-sqlite.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
ob-table.el ob: Don't truncate sbe results 2011-02-13 10:52:58 +00:00
ob-tangle.el ob-tangle: new :mkdirp header argument creates parent dirs of tangle targets 2011-01-19 20:29:09 -07:00
ob.el ob: fix indentation bug when inserting results from inline code blocks 2011-02-14 23:51:40 -07:00
org-agenda.el Fix bug when scattering deadline and improve org-agenda-bulk-mark-regexp. 2011-02-13 17:40:08 +01:00
org-archive.el Define and use org-archive-subtree-add-inherited-tags. 2011-02-01 16:09:04 +01:00
org-ascii.el Code cleanup: use a generic :for-backend parameter. 2011-02-15 11:07:46 +01:00
org-attach.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-bbdb.el org-bbdb-export: use a better description. 2011-02-15 05:37:17 +01:00
org-beamer.el Fix use of minted with beamer export 2011-02-14 11:00:49 +00:00
org-bibtex.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-capture.el Allow (currentfile) for capture templates. 2011-02-12 19:07:52 +01:00
org-clock.el `org-clock-clocktable-language-setup': add dutch strings. 2011-02-14 22:02:45 +01:00
org-colview-xemacs.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-colview.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-compat.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-crypt.el org-crypt: cache encrypted text 2011-02-08 16:55:45 +01:00
org-ctags.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-datetree.el Fix bug when jumping to a datetree from the agenda. 2011-02-15 06:07:53 +01:00
org-docbook.el Code cleanup: use a generic :for-backend parameter. 2011-02-15 11:07:46 +01:00
org-docview.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-entities.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-exp-blocks.el org-exp-blocks: deprecating begin_dot and begin_ditaa blocks, will be removed soon 2011-02-10 10:00:06 -07:00
org-exp.el Allow empty strings in minted/listings latex options 2011-02-15 15:01:25 +00:00
org-faces.el adding faces for block backgrounds and begin/end lines 2011-02-04 13:47:58 -07:00
org-feed.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-footnote.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-freemind.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-gnus.el org-gnus.el: Allow org-link creation from message-mode. 2011-02-09 16:54:36 +01:00
org-habit.el Optimize org-habit-parse-todo 2011-01-25 22:58:57 +01:00
org-html.el Bugix: keep backward-compatible with the old default of `org-export-html-validation-link'. 2011-02-15 15:57:20 +01:00
org-icalendar.el Make org-icalendar-date-time-format backward compatible. 2011-02-12 21:15:06 +01:00
org-id.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-indent.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-info.el Use # to separate the info file and the node in Org links. 2011-02-11 13:38:39 +01:00
org-inlinetask.el org-inlinetask: remove case-sensitivity at end line, improve code comments 2010-12-21 11:06:58 +01:00
org-irc.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-jsinfo.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-latex.el New UI for configuring latex src code export. 2011-02-15 15:01:25 +00:00
org-list.el org: remove org-invisible-p 2011-01-26 18:26:46 +01:00
org-mac-message.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-macs.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mew.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mhe.el org-mhe-store-link alters window layout 2011-02-08 16:54:53 +01:00
org-mks.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mobile.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-mouse.el Code cleanup: use (org-mode-p) when possible. 2011-02-15 05:18:22 +01:00
org-pcomplete.el Typo fix: don't rename org-complete defgroup 2011-01-31 19:27:42 +01:00
org-plot.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-protocol.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-publish.el Better sitemap formating 2011-02-11 17:35:52 +01:00
org-remember.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-rmail.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-special-blocks.el Add some additional stuff needed after moving org-special-blocks.el 2011-01-03 22:08:10 +01:00
org-src.el Code cleanup: use (org-mode-p) when possible. 2011-02-15 05:18:22 +01:00
org-table.el Don't wrap org-entry-get into condition-case. 2011-02-12 19:02:52 +01:00
org-taskjuggler.el org-taskjuggler.el: fix a small typo. 2011-01-04 16:25:48 +01:00
org-timer.el Code cleanup: use (org-mode-p) when possible. 2011-02-15 05:18:22 +01:00
org-vm.el org-vm.el: properly handle virtual folders. 2011-02-14 11:14:25 +01:00
org-w3m.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-wl.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org-xoxo.el Version number back to 7.4 2010-12-10 18:49:40 +01:00
org.el Code cleanup: use (org-mode-p) when possible. 2011-02-15 05:18:22 +01:00