In some cases it was using "\" unnecessarily. In another case it needed an additional "\" to properly indicate a numbered sub-match. Make comment-start buffer-local in llvm-mode.el llvm-mode was setting comment-start globally. However, it is better to only set it locally in the current buffer. Don't use purecopy in llvm-mode.el There's no reason to use purecopy in llvm-mode.el. purecopy is only needed for files that are dumped in emacs. Add a version header to llvm-mode.el Adding a version header to llvm-mode.el allows it to be installed by the Emacs package manager. There are not many requirements on the version number; however it is useful to users to bump it when something significant changes. Here I've chosen just to start at 1.0. Patch by Tom Tromey! llvm-svn: 323705
-*- llvm/utils/emacs/README -*-
These are syntax highlighting files for the Emacs and XEmacs editors. Included
are:
* llvm-mode.el
Syntax highlighting mode for LLVM assembly files. To use, add this code to
your ~/.emacs :
(setq load-path
(cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
(require 'llvm-mode)
* tablegen-mode.el
Syntax highlighting mode for TableGen description files. To use, add this code
to your ~/.emacs:
(setq load-path
(cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
(require 'tablegen-mode)
Note: If you notice missing or incorrect syntax highlighting, please contact
<llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
functionality, it will be most appreciated. Thank you.