help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slime indentation and colour


From: Daniel Jensen
Subject: Re: Slime indentation and colour
Date: Sun, 15 Jul 2007 18:39:28 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Sard <Sardaukary@gmail.com> writes:

> When I type code in the relp it's indented automatically, but when I
> type in a buffer of a file ending in .lisp who's buffer is in (Lisp
> Slime) mode it doesn't.  How can I change this?

Add the following to your init file.

(add-hook 'lisp-mode-hook
          (lambda ()
            (local-set-key (kbd "RET") 'newline-and-indent)))

> Also how do I enable color syntax highlighting?

(global-font-lock-mode 1)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]