Make sure init files have unique names
This commit is contained in:
parent
01a358e831
commit
36c8b991ee
7 changed files with 12 additions and 6 deletions
|
@ -697,21 +697,21 @@ To start off, first I need to enable lexical binding.
|
|||
errors.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(with-eval-after-load 'js (load "js-mode-init"))
|
||||
(with-eval-after-load 'js (load "oni-js-mode-init"))
|
||||
#+END_SRC
|
||||
|
||||
- [[file:init/php-mode-init.org][php-mode]] :: I use PHP mode for files that only contain PHP code,
|
||||
no HTML or anything.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(with-eval-after-load 'php-mode (load "php-mode-init"))
|
||||
(with-eval-after-load 'php-mode (load "oni-php-mode-init"))
|
||||
#+END_SRC
|
||||
|
||||
- [[file:init/sh-mode-init.org][sh-mode]] :: Used for most types of shell scripting (bash, zsh,
|
||||
etc.).
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(with-eval-after-load 'sh-mode (load "sh-mode-init"))
|
||||
(with-eval-after-load 'sh-mode (load "oni-sh-mode-init"))
|
||||
#+END_SRC
|
||||
|
||||
** Emacs lisp mode
|
||||
|
@ -932,20 +932,20 @@ To start off, first I need to enable lexical binding.
|
|||
enough /yet/.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(with-eval-after-load 'dired (load "dired-init"))
|
||||
(with-eval-after-load 'dired (load "oni-dired-init"))
|
||||
#+END_SRC
|
||||
|
||||
- [[file:init/magit-init.org][Magit]] :: The Emacs git interface. By now I think I may know magit
|
||||
better than the git cli.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(with-eval-after-load 'magit (load "magit-init"))
|
||||
(with-eval-after-load 'magit (load "oni-magit-init"))
|
||||
#+END_SRC
|
||||
|
||||
- [[file:init/ediff-init.org][Ediff]] :: A reall diff application.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(with-eval-after-load 'ediff (load "ediff-init"))
|
||||
(with-eval-after-load 'ediff (load "oni-ediff-init"))
|
||||
#+END_SRC
|
||||
|
||||
** Gnus
|
||||
|
|
|
@ -43,3 +43,9 @@ Load a PHP-specific completion back-end when company mode is loaded.
|
|||
(require 'company-php)
|
||||
(add-to-list 'company-backends 'company-ac-php-backend))
|
||||
#+END_SRC
|
||||
|
||||
Enable ggtags-mode for tags browsing with global.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'php-mode-hook 'ggtags-mode)
|
||||
#+END_SRC
|
Loading…
Reference in a new issue