[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: patch for thingatpt.el
From: |
Drew Adams |
Subject: |
RE: patch for thingatpt.el |
Date: |
Mon, 16 Jul 2007 00:12:21 -0700 |
> 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'.
Sorry for the noise, but this one is also needed:
(put 'defun 'forward-op 'end-of-defun)