From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: patch for thingatpt.el Date: Sun, 15 Jul 2007 23:54:38 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1184568924 23937 80.91.229.12 (16 Jul 2007 06:55:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2007 06:55:24 +0000 (UTC) To: "Emacs-Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 08:55:23 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IAKUN-0000dG-3N for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 08:55:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAKUM-0002pw-MB for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 02:55:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAKUB-0002lC-6N for emacs-devel@gnu.org; Mon, 16 Jul 2007 02:55:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAKU8-0002kS-Jw for emacs-devel@gnu.org; Mon, 16 Jul 2007 02:55:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAKU8-0002kO-Gi for emacs-devel@gnu.org; Mon, 16 Jul 2007 02:55:08 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IAKU8-0005Ly-46 for emacs-devel@gnu.org; Mon, 16 Jul 2007 02:55:08 -0400 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l6G6t6f6007909 for ; Mon, 16 Jul 2007 01:55:06 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id l6G6t6jH019929 for ; Mon, 16 Jul 2007 00:55:06 -0600 Original-Received: from dhcp-amer-csvpn-gw2-141-144-73-5.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3042045471184568893; Sun, 15 Jul 2007 23:54:53 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74878 Archived-At: Here is a minor bug fix for thingatpt.el - add these lines: (put 'defun 'beginning-op 'beginning-of-defun) (put 'defun 'end-op 'end-of-defun) Otherwise, these two doc strings that refer to thing type `defun' are incorrect: `bounds-of-thing-at-point', `thing-at-point'. Without those two lines, these functions always return nil for type `defun'.