From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: SOLVED: source code block language 'makefile' and listings package Date: Tue, 08 Jul 2014 12:00:52 +0200 Message-ID: <87ha2syxt7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4SD3-0007gr-K9 for emacs-orgmode@gnu.org; Tue, 08 Jul 2014 06:01:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4SCv-00012e-SE for emacs-orgmode@gnu.org; Tue, 08 Jul 2014 06:01:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:41566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4SCv-00012Y-LR for emacs-orgmode@gnu.org; Tue, 08 Jul 2014 06:01:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X4SCu-0006Vy-Fh for emacs-orgmode@gnu.org; Tue, 08 Jul 2014 12:01:04 +0200 Received: from e178063026.adsl.alicedsl.de ([85.178.63.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jul 2014 12:01:04 +0200 Received: from tjolitz by e178063026.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Jul 2014 12:01:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rainer M Krug 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