M-. and interning

Zach Beane <[email protected]>
Newsgroups gmane.lisp.slime.devel
Message-ID <[email protected]>
If I load a file like this:

  (defpackage xach (:use cl))
  (in-package xach)
  (defun attack () 'attack)

Then do:

  > (apropos "attack")
  XACH::ATTACK (fbound)
  ; No value

Then if I M-. on XACH::ATTACK, it jumps to the definition as
expected. But then:

  > (apropos "attack")
  ATTACK
  XACH::ATTACK (fbound)
  ; No value
 
Why does ATTACK get interned in the current package?

Thanks,
Zach
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.