Endless Parentheses

Ramblings on productivity and technical subjects.

profile for Malabarba on Stack Exchange

Inserting Documentation Quotes

Hopefully I'm not the only one who obsessively tries to abide by the high codes of good practice and writes descriptive documentation on every last defun or defcustom. If so, I can't be the only one who has grown tired of typing ` then ' inside Emacs doc strings.

(define-key emacs-lisp-mode-map "\C-cm" "`'\C-b")

The m key feels natural to me here, because I also use C-c m in LaTeX for quoting math, but you might find some other key more intuitive.

comments powered by Disqus