help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrong "Not documented" message, bug?


From: Marc Mientki
Subject: Re: Wrong "Not documented" message, bug?
Date: Wed, 08 Dec 2010 15:31:49 -0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4

Am 14.10.2010 10:21, schrieb Andreas Röhler:

Hi,

M-x describe-function `py-in-string/comment' points me to the code
below, which is correct:


(defun py-in-string/comment ()
(interactive)            <----
"Returns character address of start of comment or string; nil if not in  <----
one. "
(lexical-let ((erg (nth 8 (syntax-ppss))))
(unless erg (when (or (looking-at "\"\"\"")
(looking-at (concat "^[ \t]*" comment-start-skip)))
(setq erg (point))))
(when (interactive-p) (message "%s" erg))
erg))

However, it says:

,----
| py-in-string/comment is an interactive Lisp function in
| `python-components-intern.el'.
|
| (py-in-string/comment)
|
| Not documented.
`----

Something odd with doku here? A bug?

See at '<----'. Doc string must come first.

regards
Marc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]