Home | History | Annotate | Download | only in emacs

Lines Matching defs:mode

1 ;;; llvm-mode.el --- Major mode for the LLVM assembler language.
7 ;; Major mode for editing LLVM IR files.
11 (defvar llvm-mode-syntax-table
18 "Syntax table used while in LLVM mode.")
66 (defalias 'llvm-mode-prog-mode
67 (if (fboundp 'prog-mode)
68 'prog-mode
69 'fundamental-mode))
72 (define-derived-mode llvm-mode llvm-mode-prog-mode "LLVM"
73 "Major mode for editing LLVM source files.
74 \\{llvm-mode-map}
75 Runs `llvm-mode-hook' on startup."
79 ;; Associate .ll files with llvm-mode
81 (add-to-list 'auto-mode-alist (cons (purecopy "\\.ll\\'") 'llvm-mode))
83 (provide 'llvm-mode)
85 ;;; llvm-mode.el ends here