From: Bastien <bastien.guerry@wikimedia.fr>
To: Memnon Anon <gegendosenfleisch@googlemail.com>
Cc: Markus Heller <hellerm2@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Docstrings: Use of `C-u'
Date: Mon, 16 Aug 2010 20:54:07 +0200 [thread overview]
Message-ID: <87sk2e4cds.fsf@gnu.org> (raw)
In-Reply-To: <87tymwreu6.fsf@mean.albasani.net> (Memnon Anon's message of "Sun, 15 Aug 2010 01:41:21 +0200")
Memnon Anon <gegendosenfleisch@googlemail.com> 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)
> | (org-with-remote-undo (marker-buffer org-clock-marker)
> | (with-current-buffer (marker-buffer org-clock-marker)
> | (save-excursion
> | (save-restriction
> | (widen)
> | (goto-char org-clock-marker)
> | (org-back-to-heading t)
> | (move-marker marker (point))
> | (org-clock-out)
> | (setq newhead (org-get-heading))))))
> | (org-agenda-change-all-lines newhead marker)
> | (move-marker marker nil)))
> `----
>
> It takes an (optional) arg, but is it used anywhere?!
Nope...
> If there is no arg interpreted anywhere, why is it there?
Looks like a mistake - I committed a fix to remove this arg.
--
Bastien
next prev parent reply other threads:[~2010-08-16 18:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-12 23:13 Bind C-u C-c C-x C-i to a key Markus Heller
2010-08-12 23:37 ` Andreas Burtzlaff
2010-08-13 3:12 ` [OT] Passing universal argument to a function (was: Bind C-u C-c C-x C-i to a key) Memnon Anon
2010-08-13 16:49 ` Markus Heller
2010-08-14 23:41 ` Docstrings: Use of `C-u' (was: [OT] Passing universal argument to a function) Memnon Anon
2010-08-16 18:54 ` Bastien [this message]
2010-08-16 19:01 ` Docstrings: Use of `C-u' Bastien
2010-08-13 7:09 ` Re: Bind C-u C-c C-x C-i to a key Bastien
2010-08-13 7:12 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sk2e4cds.fsf@gnu.org \
--to=bastien.guerry@wikimedia.fr \
--cc=emacs-orgmode@gnu.org \
--cc=gegendosenfleisch@googlemail.com \
--cc=hellerm2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.