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

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

Wrong "Not documented" message, bug?


From: Andreas Röhler
Subject: Wrong "Not documented" message, bug?
Date: Thu, 14 Oct 2010 10:21:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6


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?

Thanks


Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/


PS: If interested, see the complete files contents at

http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode-components/annotate/head%3A/python-components-intern.el



reply via email to

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