2

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.

3
  • 1
    You could use the header argument :results silent. Commented Jun 26, 2020 at 10:55
  • Yes. This works for me. Thanks! Commented Jun 26, 2020 at 11:00
  • Would you like to post an answer? Commented Jun 26, 2020 at 11:01

1 Answer 1

3

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."
#+END_SRC

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.