Nick Dokos <ndo...@gmail.com> writes:

> Rainer M Krug <rai...@krugs.de> 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:      rai...@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

Attachment: pgpHOJOujzKFw.pgp
Description: PGP signature

Reply via email to