I use the package ryo-modal-mode and for the key assignment I have long code blocks in an org-file.

If I execute the code block I get a very long table under #+RESULTS. Is it possible to execute a block without result, or disable output?

Before I used M-x eval-region. Hitting C-c C-c would be easier, if there wasn't the long results table.


1 Answer 1


Use the header argument :results silent to suppress the #+RETULTS: output of a single source block. With the header argument, the results are shown in the message buffer instead.

Minimal working example:

#+BEGIN_SRC emacs-lisp :results silent
"This string goes to the message buffer instead of popping up below the source block."

How you can suppress the insertion of the results for all source blocks of an org file is described in the answer to another question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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