]> git.pld-linux.org Git - packages/emacs.git/commitdiff
- complete contents from DEVEL
authortwittner <twittner@pld-linux.org>
Sun, 10 Jun 2007 14:02:17 +0000 (14:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    emacs-dotemacs -> 1.2

emacs-dotemacs

index 057e8136ce8339161a9fb445c79eb768068b9b34..836a7af24149c46b0f3516e37b0b6081c6ccb677 100644 (file)
 
 ;; Stop at the end of the file, not just add lines
 (setq next-line-add-newlines nil)
+
+;; Nemerle
+(autoload 'nemerle-mode "nemerle.el"
+  "Major mode for editing nemerle programs." t)
+(setq auto-mode-alist (cons '("\\.n$" . nemerle-mode) auto-mode-alist))
+
+;; If you'd like to have every line indented right after new line put
+;; these lines into your ~/.emacs files.
+
+(defun my-nemerle-mode-hook ()
+  (setq nemerle-basic-offset 2)
+  (define-key nemerle-mode-map "\C-m" 'newline-and-indent))
+(add-hook 'nemerle-mode-hook 'my-nemerle-mode-hook)
+
+;; Tuareg Mode (ocaml)
+(setq auto-mode-alist (cons '("\\.ml\\w?" . tuareg-mode) auto-mode-alist))
+(autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
This page took 0.03439 seconds and 4 git commands to generate.