From: "Drew Adams" <drew.adams@oracle.com>
To: "'Leo'" <sdl.web@gmail.com>, <emacs-devel@gnu.org>
Subject: RE: (thing-at-point 'defun)
Date: Tue, 6 Apr 2010 08:49:44 -0700 [thread overview]
Message-ID: <BFD7D8C64A844FEF8A1FCE7A72F71F48@us.oracle.com> (raw)
In-Reply-To: <xbaityrowqfo.fsf@cam.ac.uk>
> 'defun is listed in thing-at-point's doc string. What is this supposed
> to do? I eval (thing-at-point 'defun) in various places and it seems
> always return nil.
It's a bug (IMO). I use this in thingatpt+.el; it is missing from thingatpt.el:
;; `defun' type
(put 'defun 'beginning-op 'beginning-of-defun)
(put 'defun 'end-op 'end-of-defun)
(put 'defun 'forward-op 'end-of-defun)
next prev parent reply other threads:[~2010-04-06 15:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-06 15:28 (thing-at-point 'defun) Leo
2010-04-06 15:49 ` Drew Adams [this message]
2010-04-06 15:53 ` Leo
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=BFD7D8C64A844FEF8A1FCE7A72F71F48@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=sdl.web@gmail.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 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.