all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "liu.huanjie@yahoo.com" <liu.huanjie@yahoo.com>
To: 24607@debbugs.gnu.org
Subject: bug#24607: 25.1; comment-dwim doc is confused
Date: Tue, 4 Oct 2016 11:40:52 +0800	[thread overview]
Message-ID: <201610041140493910850@yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

   Today I try to write a function that call comment-dwim, it works
when I 'M-x comment-dwim', but when I call it as (comment-dwim), it
says wrong argument number, but after checking the doc and read the
source, I still can't figure out how to give args, which what I want
is the current line where my cursor is.
  I add 'nil' to 'comment-dwim' and fixed, but it will be better to
add something about what args should a caller give, and that will
not confused to at least elisp newbie, and it is better.
  Thanks.



liu.huanjie@yahoo.com

[-- Attachment #2: Type: text/html, Size: 1563 bytes --]

             reply	other threads:[~2016-10-04  3:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04  3:40 liu.huanjie [this message]
2018-02-14  3:25 ` bug#24607: 25.1; comment-dwim doc is confused Noam Postavsky
2020-08-12  1:06   ` Stefan Kangas

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=201610041140493910850@yahoo.com \
    --to=liu.huanjie@yahoo.com \
    --cc=24607@debbugs.gnu.org \
    /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.