How to replace the displayfn from message to a function which displays the result in a temporary window? (I have limited knowledge of elisp.)

  • Welcome to emacs.SE! It's not really clear what you want to do. Could you try to be more explicit? What is the 'define-word' package? – JeanPierre Oct 21 '18 at 20:14

Instead of

(message "ahoy")

create a new buffer, switch to it and insert the message there:

(progn (switch-to-buffer (generate-new-buffer "message"))
       (insert "ahoy"))
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.