[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24697: 25.1; find-lisp-object-file-name may return wrong locations
From: |
Alex |
Subject: |
bug#24697: 25.1; find-lisp-object-file-name may return wrong locations |
Date: |
Fri, 14 Oct 2016 16:19:23 -0600 |
#+BEGIN_SRC elisp
(defface tab-width
'((t :foreground "red"))
"A face with the same name as a variable.")
(find-lisp-object-file-name 'tab-width 'defface)
#+END_SRC
The above results in the symbol 'C-source'. The result should be nil as
the 'tab-width' face was evaluated in *scratch*.
Putting the above definition into an actual file and using `load-file'
does return the proper source location.
#+BEGIN_SRC elisp
(find-lisp-object-file-name 'mapatoms 1)
#+END_SRC
This should return 'C-source' but instead it returns nil.
#+BEGIN_SRC elisp
(find-lisp-object-file-name 'tab-width 1)
#+END_SRC
This should return nil but instead it returns 'C-source'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#24697: 25.1; find-lisp-object-file-name may return wrong locations,
Alex <=