all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What is wrong with this doc comment
@ 2011-06-08  4:47 Ben Key
  2011-06-08  6:47 ` Eli Zaretskii
  2011-06-08  8:35 ` Andreas Schwab
  0 siblings, 2 replies; 4+ messages in thread
From: Ben Key @ 2011-06-08  4:47 UTC (permalink / raw)
  To: Emacs Development

Hello,

The following is the doc comment I am using for my new
ns-keychain-create-item function.  It does not yield the expected
results.

doc: /* Create a new item in KEYCHAIN with label ITEM and password PASSWORD.
The remaining arguments are optional.  They specify attributes for the keychain
item in the form of key-value pairs.  The keys are keyword symbols, starting
with a colon.

Example:
  \(secrets-create-item \"Tramp collection\" \"item\" \"geheim\"
   :method \"sudo\" :user \"joe\" :host \"remote-host\"\)

The object path of the created item is returned. */

The resulting help message is as follows.

ns-keychain-create-item is a built-in function in `C source code'.

(ns-keychain-create-item ARG1 ARG2 ARG3 &rest REST)

Create a new item in KEYCHAIN with label ITEM and password PASSWORD.
The remaining arguments are optional.  They specify attributes for the keychain
item in the form of key-value pairs.  The keys are keyword symbols, starting
with a colon.

Example:
  (secrets-create-item "Tramp collection" "item" "geheim"
   :method "sudo" :user "joe" :host "remote-host")

The object path of the created item is returned.


Why does the help message have ARG1 ARG2 ARG3 &rest REST instead of
KEYCHAIN ITEM PASSWORD?

Thanks.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-08 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08  4:47 What is wrong with this doc comment Ben Key
2011-06-08  6:47 ` Eli Zaretskii
2011-06-08  8:35 ` Andreas Schwab
2011-06-08 15:48   ` Ben Key

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.