Thursday, November 30, 2006

text-mode from the Emacs Lisp Reference Manual.

I needed this in order to make text-mode behave like I wanted it, I didn't like that magic indent relative when I hit the tab key:


(define-key text-mode-map "\t" 'indent-relative)


I instead wanted it just to insert a tab character:

(define-key text-mode-map "\t" 'self-insert-command)