Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by rightbyte

1 year ago

How would this work?

    (defmacro hi-macro ()
      (eval-when-compile
        (message "hi you")))

    (hi-mac

I get no printout when doing C-M-i with the cursor after "mac".

Edit: OK. As per the mailing list. I guess it is a feature then.

    (let ((fooo (eval-when-compile (progn (message "hi you")))))
      foo ;; <---- C-M-i here
      )

0 comments

rightbyte

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities