aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2016-08-25 11:03:00 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2016-08-25 11:03:00 +0200
commit66876d142b908b37f32063c74dbe43f1aa116978 (patch)
treee1be008aad5604390ab852e148a0e9148edb2856 /emacs
parent26a8832147a1df28ba57f4de7c5a38575613691f (diff)
downloaddotfiles-66876d142b908b37f32063c74dbe43f1aa116978.tar.gz
dotfiles-66876d142b908b37f32063c74dbe43f1aa116978.zip
emacs: added dockerfile mode and removed the .service file
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs')
-rw-r--r--emacs/emacs.service11
-rw-r--r--emacs/init.el6
2 files changed, 6 insertions, 11 deletions
diff --git a/emacs/emacs.service b/emacs/emacs.service
deleted file mode 100644
index d611118..0000000
--- a/emacs/emacs.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Emacs: the extensible, self-documenting text editor
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/emacs --daemon
-ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
-Restart=always
-
-[Install]
-WantedBy=default.target
diff --git a/emacs/init.el b/emacs/init.el
index 7818185..9949e47 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -581,4 +581,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(add-hook 'cmake-mode-hook 'cmake-font-lock-activate)
(add-hook 'yaml-mode-hook 'warnings-mode-hook)))
+(use-package dockerfile-mode
+ :ensure t
+ :config
+
+ (add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode)))
+
;;; init.el ends here