I am experimenting with using org-mode for some of my startup config, and adding
(org-babel-load-file (concat user-emacs-directory "config.org")) to my .emacs.
Then I use a structure like the following to embed elisp:
** Disable window clutter #+begin_src emacs-lisp (setq initial-scratch-message nil) (setq inhibit-splash-screen t) (if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) (if (fboundp 'tool-bar-mode) (tool-bar-mode -1)) #+end_src
Inside the source block,
M-x comment-region uses a '#' as the comment character. What is the best/easiest way to make
comment-region adjust to the block it is in?