[llvm-commits] CVS: llvm/utils/emacs/llvm-mode.el

Misha Brukman brukman at cs.uiuc.edu
Tue Sep 28 14:46:28 PDT 2004



Changes in directory llvm/utils/emacs:

llvm-mode.el updated: 1.13 -> 1.14
---
Log message:

* Add `deplibs' keyword for specifying a list of dependent libraries
* Convert tabs to spaces


---
Diffs of the changes:  (+4 -4)

Index: llvm/utils/emacs/llvm-mode.el
diff -u llvm/utils/emacs/llvm-mode.el:1.13 llvm/utils/emacs/llvm-mode.el:1.14
--- llvm/utils/emacs/llvm-mode.el:1.13	Wed Apr 28 14:36:08 2004
+++ llvm/utils/emacs/llvm-mode.el	Tue Sep 28 16:46:18 2004
@@ -25,7 +25,7 @@
    ;; Hex constants
    '("0x[0-9A-Fa-f]+" . font-lock-preprocessor-face)
    ;; Keywords
-   '("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|volatile" . font-lock-keyword-face)
+   '("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|deplibs\\|volatile" . font-lock-keyword-face)
    ;; Types
    '("void\\|bool\\|sbyte\\|ubyte\\|u?short\\|u?int\\|u?long\\|float\\|double\\|type\\|label\\|opaque" . font-lock-type-face)
    ;; Arithmetic and Logical Operators
@@ -108,11 +108,11 @@
   (use-local-map llvm-mode-map)         ; Provides the local keymap.
   (setq major-mode 'llvm-mode)          
 
-  (make-local-variable	'font-lock-defaults)
+  (make-local-variable 'font-lock-defaults)
   (setq major-mode 'llvm-mode           ; This is how describe-mode
                                         ;   finds the doc string to print.
-	mode-name "LLVM"                ; This name goes into the modeline.
-	font-lock-defaults `(llvm-font-lock-keywords))
+  mode-name "LLVM"                      ; This name goes into the modeline.
+  font-lock-defaults `(llvm-font-lock-keywords))
 
   (setq local-abbrev-table llvm-mode-abbrev-table)
   (set-syntax-table llvm-mode-syntax-table)






More information about the llvm-commits mailing list