[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21950: 25.1.50; find-lisp-object-file-name sometimes cannot find fil
From: |
Stephen Leake |
Subject: |
bug#21950: 25.1.50; find-lisp-object-file-name sometimes cannot find file-name |
Date: |
Thu, 19 Nov 2015 11:47:15 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) |
Tino Calancha <f92capac@gmail.com> writes:
> Hi Stephe,
>
>> You are passing 'dired as the TYPE argument, which is undocumented, so
>> it's not surprising it doesn't do what you want.
>
> Exactly, that was my example to pointing out the issue.
> In emacs version < 25 find-lisp-object-file-name automatically
> replaced 'dired by 'defun, so the user file containing the alias is
> always found.
That change was made in this commit:
commit 24b7f77581c7eefe484db6cbbd661c04460c66aa
Committer : Stefan Monnier <monnier@iro.umontreal.ca>
CommitDate: Fri Jan 16 22:52:15 2015 -0500
Improve handling of doc-strings and describe-function for cl-generic
So I'm guessing we don't want to change it back.
>> How did you stumble into this?
> I have code relying of such behaviour (probably i should rewrite it in
> a more robust way):
Yes. Please give that a try. If it's difficult, we can see if there is a
way to satisfy both your use case and cl-generic.
--
-- Stephe