From 1307626309deead2bd4a4a6fa0d1c4c60e707e39 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 18 Apr 2011 10:30:35 +0200 Subject: EMACS: Paths Of course paths need to be defined in ~/.emacs, otherwise the compilation function might not be aware of them. --- emacs | 4 ++++ emacs.d/00-paths.el | 3 --- emacs.d/20-git-commit.el | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 emacs.d/00-paths.el diff --git a/emacs b/emacs index 0d4c1ab..1a24abf 100644 --- a/emacs +++ b/emacs @@ -1,4 +1,8 @@ ;; -*- mode: Emacs-Lisp; -*- +(add-to-list 'load-path "~/.emacs.d/elisp") +(add-to-list 'load-path "~/.emacs.d/naquadah-theme") +(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode") +(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode") (setq d-dir "~/.emacs.d/") (setq elisp-dir (concat d-dir "elisp/")) diff --git a/emacs.d/00-paths.el b/emacs.d/00-paths.el deleted file mode 100644 index c9853c2..0000000 --- a/emacs.d/00-paths.el +++ /dev/null @@ -1,3 +0,0 @@ -(add-to-list 'load-path "~/.emacs.d/elisp") -(add-to-list 'load-path "~/.emacs.d/naquadah-theme") -(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode") diff --git a/emacs.d/20-git-commit.el b/emacs.d/20-git-commit.el index 4568af0..2b717e8 100644 --- a/emacs.d/20-git-commit.el +++ b/emacs.d/20-git-commit.el @@ -1,4 +1,3 @@ -(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode") (require 'git-commit) (add-hook 'git-commit-mode-hook -- cgit v1.2.3-54-g00ecf From e0717aee275200b8fab0b75a5417468158b6e318 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 18 Apr 2011 19:50:51 +0200 Subject: EMACS: Don't start eldoc for php --- emacs.d/20-c-eldoc.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.d/20-c-eldoc.el b/emacs.d/20-c-eldoc.el index 6269936..5f01f6b 100644 --- a/emacs.d/20-c-eldoc.el +++ b/emacs.d/20-c-eldoc.el @@ -1,3 +1,6 @@ (setq c-eldoc-includes "`pkg-config x11 --cflags` -I./ -I../") (load "c-eldoc") (add-hook 'c-mode-hook 'c-turn-on-eldoc-mode) +(add-hook 'php-mode-hook + (lambda () + (eldoc-mode -1))) -- cgit v1.2.3-54-g00ecf