Re: [Orgmode] Docstrings: Use of `C-u'

2010-08-16 Thread Bastien
Hi Memnon, Memnon Anon writes: > I found only one other example so far, which is different: > ,[ org-agenda.el ] > | (defun org-agenda-set-restriction-lock (&optional type) > | "Set restriction lock for agenda, to current subtree or file. > | Restriction will be the file if TYPE is `file',

Re: [Orgmode] Docstrings: Use of `C-u'

2010-08-16 Thread Bastien
Memnon Anon writes: > ,[ org-agenda.el ] > | (defun org-agenda-clock-out (&optional arg) > | "Stop the currently running clock." > | (interactive "P") > | (unless (marker-buffer org-clock-marker) > | (error "No running clock")) > | (let ((marker (make-marker)) newhead) > | (or

[Orgmode] Docstrings: Use of `C-u' (was: [OT] Passing universal argument to a function)

2010-08-14 Thread Memnon Anon
Memnon Anon writes: > I am confused. [I prepared a long mail, but I deleted it all. I will try to keep it short] If one wants to bind a key to `C-u C-c C-x C-i', the easiest way is to have a look at the docstring and try to figure out, how to call the function in a lambda, i.e. an unnamed funct