[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symbol-at-point
From: |
Stefan Monnier |
Subject: |
Re: symbol-at-point |
Date: |
Tue, 24 Oct 2006 11:26:20 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> ,----[ lisp/ChangeLog ]
>> | 2006-07-04 Stefan Monnier <address@hidden>
>> |
>> | * thingatpt.el (symbol-at-point): Don't use `form-at-point' which
>> | fails if the symbol contains chars like ( or '.
>> | (bounds-of-thing-at-point): Remove unused vars `end' and `beg'.
>> | (thing-at-point-bounds-of-url-at-point): Remove unused vars `url' and
>> | `short'.
>> `----
> That entry explains why it doesn't use `form-at-point'. I missed the
> rationale for using `intern'.
Try C-x v ~ 1.35 to see the code before my change (or try C-x v = to
see the diff between 1.35 and 1.36). You'll see that the previous code
returned a symbol, not a string. Maybe we want to change that, but then
it's an API change rather than just a bug fix.
Stefan