From 1896502218f0e646ff3e6ca4b8fe7a3a93d11ba3 Mon Sep 17 00:00:00 2001 From: "Rainer M. Krug" Date: Wed, 9 Jul 2014 09:31:42 +0200 Subject: [PATCH] Add makefile to org-latex-listings-langs Enable out-of-the-box syntax fontification of makefile source blocks when using LaTeX package `liatings' * lisp/ox-latex.el (org-latex-listings-langs): add `(makefile "make")' to the default value of the variable org-latex-listings-langs. --- lisp/ox-latex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index b6dd311..80ca341 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -778,7 +778,8 @@ into previewing problems, please consult (shell-script "bash") (gnuplot "Gnuplot") (ocaml "Caml") (caml "Caml") - (sql "SQL") (sqlite "sql")) + (sql "SQL") (sqlite "sql") + (makefile "make")) "Alist mapping languages to their listing language counterpart. The key is a symbol, the major mode symbol without the \"-mode\". The value is the string that should be inserted as the language -- 2.0.1