Alex writes: > #+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'. The first and last of these are fixed by the following diff.