14d9ec5a7c
Emacs mode providing syntax highlighting and indentation for CMakeLists.txt and *.cmake source files.
15 lines
548 B
Text
15 lines
548 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1.1.1 2007/02/24 20:47:25 wiz Exp $
|
|
|
|
You will need to add something like the following to your .emacs file to
|
|
autoload the CMake mode for Emacs.
|
|
|
|
(setq auto-mode-alist
|
|
(append
|
|
'(("CMakeLists\\.txt\\'" . cmake-mode))
|
|
'(("\\.cmake\\'" . cmake-mode))
|
|
auto-mode-alist))
|
|
|
|
(autoload 'cmake-mode "${LISPDIR}/cmake-mode.el" t)
|
|
|
|
===========================================================================
|