0

My dot emacs config consists of a short init.el file and a very large org file in which I have created dozens of emacs-lisp code-blocks. This works very well for me, especially in terms of organization. Every now I then I wish to temporarily disable one of these code blocks without having to delete the blocks in part or altogether. Is there a more elegant way of doing this? At present I tend to archive the code blacks to another file. However, I would like to keep them in the same file, and activate them if I need them. Is there a tag that might do this?

2

Set the state of a header to COMMENT:

** COMMENT This will not be tangled
#+BEGIN_SRC elisp
(foo)
#+END_SRC

C-c ; runs the command org-toggle-comment.

| 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.