Use prelude-require-packages everywhere
This commit is contained in:
parent
1b922c52c2
commit
dbe0ed889a
14 changed files with 14 additions and 14 deletions
|
@ -34,7 +34,7 @@
|
|||
|
||||
;; On OS X Emacs doesn't use the shell PATH if it's not started from
|
||||
;; the shell. Let's fix that:
|
||||
(prelude-ensure-module-deps '(exec-path-from-shell))
|
||||
(prelude-require-packages '(exec-path-from-shell))
|
||||
(require 'exec-path-from-shell)
|
||||
(exec-path-from-shell-initialize)
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
Missing packages are installed automatically."
|
||||
(mapc #'prelude-require-package packages))
|
||||
|
||||
(defalias 'prelude-ensure-module-deps 'prelude-require-packages)
|
||||
(define-obsolete-function-alias 'prelude-ensure-module-deps 'prelude-require-packages)
|
||||
|
||||
(defun prelude-install-packages ()
|
||||
"Install all packages listed in `prelude-packages'."
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'prelude-lisp)
|
||||
(prelude-ensure-module-deps '(clojure-mode clojure-test-mode cider))
|
||||
(prelude-require-packages '(clojure-mode clojure-test-mode cider))
|
||||
|
||||
(eval-after-load 'clojure-mode
|
||||
'(progn
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
(eval-after-load 'css-mode
|
||||
'(progn
|
||||
(prelude-ensure-module-deps '(rainbow-mode))
|
||||
(prelude-require-packages '(rainbow-mode))
|
||||
|
||||
(defun prelude-css-mode-defaults ()
|
||||
(setq css-indent-offset 2)
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'prelude-programming)
|
||||
(prelude-ensure-module-deps '(erlang))
|
||||
(prelude-require-packages '(erlang))
|
||||
|
||||
(defcustom wrangler-path nil
|
||||
"The location of wrangler elisp directory."
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'prelude-programming)
|
||||
(prelude-ensure-module-deps '(haskell-mode))
|
||||
(prelude-require-packages '(haskell-mode))
|
||||
|
||||
(eval-after-load 'haskell-mode
|
||||
'(progn
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(prelude-ensure-module-deps '(auctex))
|
||||
(prelude-require-packages '(auctex))
|
||||
(require 'smartparens-latex)
|
||||
|
||||
;; AUCTeX configuration
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'prelude-programming)
|
||||
(prelude-ensure-module-deps '(rainbow-delimiters))
|
||||
(prelude-require-packages '(rainbow-delimiters))
|
||||
|
||||
;; Lisp configuration
|
||||
(define-key read-expression-map (kbd "TAB") 'lisp-complete-symbol)
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(prelude-ensure-module-deps '(mediawiki))
|
||||
(prelude-require-packages '(mediawiki))
|
||||
|
||||
(eval-after-load 'mediawiki
|
||||
'(progn
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(prelude-ensure-module-deps '(guru-mode))
|
||||
(prelude-require-packages '(guru-mode))
|
||||
|
||||
(defun prelude-ido-goto-symbol (&optional symbol-list)
|
||||
"Refresh imenu and jump to a place in the buffer using Ido."
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
(require 'prelude-programming)
|
||||
|
||||
(prelude-ensure-module-deps '(ruby-tools inf-ruby yari))
|
||||
(prelude-require-packages '(ruby-tools inf-ruby yari))
|
||||
|
||||
;; Rake files are ruby, too, as are gemspecs, rackup files, and gemfiles.
|
||||
(add-to-list 'auto-mode-alist '("\\.rake\\'" . ruby-mode))
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'prelude-programming)
|
||||
(prelude-ensure-module-deps '(scala-mode2))
|
||||
(prelude-require-packages '(scala-mode2))
|
||||
|
||||
(defun prelude-scala-mode-defaults ()
|
||||
(subword-mode +1))
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'prelude-css)
|
||||
(prelude-ensure-module-deps '(scss-mode))
|
||||
(prelude-require-packages '(scss-mode))
|
||||
|
||||
(defun prelude-scss-mode-defaults ()
|
||||
(prelude-css-mode-defaults)
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(prelude-ensure-module-deps '(web-mode))
|
||||
(prelude-require-packages '(web-mode))
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
|
||||
|
|
Loading…
Reference in a new issue