unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Gemini Lasswell <gazally@runbox.com>
Cc: 24773@debbugs.gnu.org
Subject: bug#24773: 26.0.50; Error when using Edebug on a function that uses :documentation
Date: Sun, 23 Oct 2016 11:35:38 -0400	[thread overview]
Message-ID: <CAM-tV-9VE-9rMM3cVvR56_J8-D8_zoFdhZU3VwHebf_vTx50Bw@mail.gmail.com> (raw)
In-Reply-To: <m2zilvt78p.fsf@rainbow.local>

On Sun, Oct 23, 2016 at 11:28 AM, Gemini Lasswell <gazally@runbox.com> wrote:
> Edebug gives an error when you try to debug any function which uses
> :documentation to create its docstring.

Is that a legitimate way to create a docstring?

I tried

(defun foo ()
  (:documentation "this is docmentation")
  t)
(foo)

And it didn't work (<f1> f foo RET says foo is not documented, and
running foo, throws Lisp error: (void-function :documentation)).





  reply	other threads:[~2016-10-23 15:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-23 15:28 bug#24773: 26.0.50; Error when using Edebug on a function that uses :documentation Gemini Lasswell
2016-10-23 15:35 ` Noam Postavsky [this message]
2016-10-23 16:47   ` Gemini Lasswell
2016-10-23 17:18     ` npostavs
2017-09-29 23:12       ` Gemini Lasswell
2017-10-06 18:37         ` Gemini Lasswell

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAM-tV-9VE-9rMM3cVvR56_J8-D8_zoFdhZU3VwHebf_vTx50Bw@mail.gmail.com \
    --to=npostavs@users.sourceforge.net \
    --cc=24773@debbugs.gnu.org \
    --cc=gazally@runbox.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).