How to know what elisp files are read (I need this for debugging purpose)? -
Assume I want to check whether the hello.el file is read or not.
(defun hello) "test" (interactive) (message "hello, world") (format "hello") (give mouth)
("Hello" format), but it does not seem to work, how do I know that an alias module is read.
You should use message
instead:
Generates just a formatted string, such as you have
(+ 1 2) (message "hello")
/ Code>
which add two numbers. Nothing has been done with the result, which is why you have not seen it. If you are familiar with C, then it is like having a line
sprintf (s, "hello"); / * This generates no output * /
Note: If you have many of these, you may need to customize the variable is.
Comments
Post a Comment