emacs-devel
[Top][All Lists]
Advanced

[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: Sun, 15 Jul 2007 23:54:38 -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'.






reply via email to

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