emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] SOLVED: source code block language 'makefile' and listings packa


From: Nick Dokos
Subject: Re: [O] SOLVED: source code block language 'makefile' and listings package
Date: Tue, 08 Jul 2014 07:22:13 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3.50 (gnu/linux)

Rainer M Krug <address@hidden> writes:


> Much simpler then that: I simply changed the variable
> org-latex-listings-langs to include makefile:
>
> ,----
> | (setq org-latex-listings-langs 
> |       '((emacs-lisp "Lisp") 
            ...
> |         (makefile "make")))
> `----
>
> Works perfectly.
>
> Now if I just could figure out on how I can simply *add* the makefile to
> the list without defining it completely new..
>

(setq org-latex-listings-langs
      (append org-latex-listings-langs '((makefile "make"))))

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]