[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] SOLVED: source code block language 'makefile' and listings packa
From: |
Rainer M Krug |
Subject: |
Re: [O] SOLVED: source code block language 'makefile' and listings package |
Date: |
Wed, 09 Jul 2014 09:25:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
Nick Dokos <address@hidden> writes:
> 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"))))
Perfect - thanks.
I would actually suggest to add this to the default of the variable
definition.
Will submit a patch later today.
Thanks,
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa
Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax : +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3 21 21 25 22 44
email: address@hidden
Skype: RMkrug
PGP: 0x0F52F982
pgpHIJC6c7001.pgp
Description: PGP signature