[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] SOLVED: source code block language 'makefile' and listings packa
From: |
Thorsten Jolitz |
Subject: |
Re: [O] SOLVED: source code block language 'makefile' and listings package |
Date: |
Tue, 08 Jul 2014 12:00:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Rainer M Krug <address@hidden> writes:
> Now if I just could figure out on how I can simply *add* the makefile to
> the list without defining it completely new..
Maybe
,----[ C-h f add-to-list RET ]
| add-to-list is a compiled Lisp function in `subr.el'.
|
| (add-to-list LIST-VAR ELEMENT &optional APPEND COMPARE-FN)
|
| Add ELEMENT to the value of LIST-VAR if it isn't there yet.
| The test for presence of ELEMENT is done with `equal',
| or with COMPARE-FN if that's non-nil.
| If ELEMENT is added, it is added at the beginning of the list,
| unless the optional argument APPEND is non-nil, in which case
| ELEMENT is added at the end.
|
| The return value is the new value of LIST-VAR.
|
| If you want to use `add-to-list' on a variable that is not defined
| until a certain package is loaded, you should put the call to `add-to-list'
| into a hook function that will be run only after loading the package.
| `eval-after-load' provides one way to do this. In some cases
| other hooks, such as major mode hooks, can do the job.
|
| [back]
`----
?
--
cheers,
Thorsten
- [O] source code block language 'makefile' and listings package, Rainer M Krug, 2014/07/04
- Re: [O] source code block language 'makefile' and listings package, Thomas S. Dye, 2014/07/04
- [O] SOLVED: source code block language 'makefile' and listings package, Rainer M Krug, 2014/07/08
- Re: [O] SOLVED: source code block language 'makefile' and listings package,
Thorsten Jolitz <=
- Re: [O] SOLVED: source code block language 'makefile' and listings package, Nick Dokos, 2014/07/08
- Re: [O] SOLVED: source code block language 'makefile' and listings package, Rainer M Krug, 2014/07/09
- Re: [O] SOLVED: source code block language 'makefile' and listings package, Nick Dokos, 2014/07/08
- Re: [O] SOLVED: source code block language 'makefile' and listings package, Rainer M Krug, 2014/07/11
- Re: [O] SOLVED: source code block language 'makefile' and listings package, Thomas S. Dye, 2014/07/08