[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Docs submitted
From: |
Stephan Schmitt |
Subject: |
Re: [Orgmode] Docs submitted |
Date: |
Wed, 11 Feb 2009 15:38:55 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090106) |
> > (eval-after-load 'org
> > '(progn
> > ;;^--HERE.
> > (add-to-list 'org-todo-setup-filter-hook
> > #'org-choose-setup-filter)
> > (add-to-list 'org-todo-get-default-hook
> > #'org-choose-get-default-mark)
> > (add-to-list 'org-trigger-hook
> > #'org-choose-keep-sensible)
> > (add-to-list 'org-todo-interpretation-widgets
> > '(:tag "Choose (to record decisions)" choose)
> > 'append)
> > ))
> >
>
> Hi Tom,
>
> maybe you can educate me: I have never understood what the "#" does
> in code like the one you have here. You are using it, so maybe you
> know?
>
> - Carsten
Hi,
from [[info:elisp:Anonymous%20Functions]]:
> We sometimes write `function' instead of `quote' when quoting the
> name of a function, but this usage is just a sort of comment:
>
> (function SYMBOL) == (quote SYMBOL) == 'SYMBOL
>
> The read syntax `#'' is a short-hand for using `function'. For
> example,
>
> #'(lambda (x) (* x x))
>
> is equivalent to
>
> (function (lambda (x) (* x x)))
so #'foo is the same as 'foo but indicates that foo is a function
hth,
Stephan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Orgmode] Docs submitted,
Stephan Schmitt <=