> > (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
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode