[NBLUG/talk] emacs config problem
Andru Luvisi
luvisi at andru.sonoma.edu
Fri Jun 13 18:01:01 PDT 2003
On Fri, 13 Jun 2003, Rob Orsini wrote:
[snip]
> ;; THIS IS THE PROBLEM LINE
> (define-key indented-text-mode-map "\C-m" 'newline-and-indent)
[snip]
> An error has occurred while loading `/home/admin/.emacs':
>
> Symbol's value as variable is void: indented-text-mode-map
[snip]
The book was probably written for emacs 19 and you are probably using
emacs 20. In emacs 20 indented-text-mode is just an alias for text-mode.
There is no indented-text-mode, and no indented-text-mode-map. Try:
(define-key text-mode-map "\C-m" 'newline-and-indent)
Andru
--
Andru Luvisi, Programmer/Analyst
Quote Of The Moment:
Signs You're Not Cut Out to Be a Jedi:
6. Down pat you have the backwards talk, yet impressed the chicks still
are not.
More information about the talk
mailing list