Use prelude-require-packages everywhere

This commit is contained in:
Bozhidar Batsov 2013-11-26 12:52:29 +02:00
parent 1b922c52c2
commit dbe0ed889a
14 changed files with 14 additions and 14 deletions

View file

@ -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)

View file

@ -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'."

View file

@ -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

View file

@ -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)

View file

@ -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."

View file

@ -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

View file

@ -32,7 +32,7 @@
;;; Code:
(prelude-ensure-module-deps '(auctex))
(prelude-require-packages '(auctex))
(require 'smartparens-latex)
;; AUCTeX configuration

View file

@ -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)

View file

@ -32,7 +32,7 @@
;;; Code:
(prelude-ensure-module-deps '(mediawiki))
(prelude-require-packages '(mediawiki))
(eval-after-load 'mediawiki
'(progn

View file

@ -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."

View file

@ -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))

View file

@ -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))

View file

@ -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)

View file

@ -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))