cleaned up some package dependency stuff

This commit is contained in:
Bozhidar Batsov 2013-01-02 14:26:54 +02:00
parent 269e9137ec
commit 9cfdb2694a
17 changed files with 10 additions and 24 deletions

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-programming "1.0.0"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/prelude ;; URL: http://batsov.com/prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-lisp "1.0.0") (clojure-mode "1.11.5") (nrepl "0.1.4"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((coffee-mode "0.4.0"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.
@ -52,10 +51,6 @@
;; *Messages* spam ;; *Messages* spam
(setq coffee-debug-mode t) (setq coffee-debug-mode t)
;; electric-indent doesn't play nice with coffee-mode's "smart"
;; indent
(electric-indent-mode -1)
;; Emacs key binding ;; Emacs key binding
(define-key coffee-mode-map [(meta r)] 'coffee-compile-buffer) (define-key coffee-mode-map [(meta r)] 'coffee-compile-buffer)

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-lisp "1.0.0"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://www.batsov.com/emacs-prelude ;; URL: http://www.batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((rainbow-mode "0.2"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -5,7 +5,6 @@
;; Author: Gleb Peregud <gleber.p@gmail.com> ;; Author: Gleb Peregud <gleber.p@gmail.com>
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience erlang ;; Keywords: convenience erlang
;; Package-Requires: ((erlang "2.4.1") (projectile "0.7"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((haskell-mode "2.8.0") (prelude-programming "1.0.0"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.
@ -34,6 +33,7 @@
;;; Code: ;;; Code:
(require 'prelude-programming) (require 'prelude-programming)
(prelude-ensure-module-deps '(haskell-mode))
(eval-after-load 'haskell-mode (eval-after-load 'haskell-mode
'(progn '(progn

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-programming "1.0.0"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((auctex "11.86"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.
@ -33,6 +32,8 @@
;;; Code: ;;; Code:
(prelude-ensure-module-deps '(auctex))
;; AUCTeX configuration ;; AUCTeX configuration
(setq TeX-auto-save t) (setq TeX-auto-save t)
(setq TeX-parse-self t) (setq TeX-parse-self t)

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-programming "1.0.0") (paredit "22") (rainbow-delimiters "1.3.4"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((mediawiki "2.2.3"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.
@ -33,6 +32,8 @@
;;; Code: ;;; Code:
(prelude-ensure-module-deps '(mediawiki))
(eval-after-load 'mediawiki (eval-after-load 'mediawiki
'(progn '(progn
(setq mediawiki-site-alist '(("Wikipedia" "http://en.wikipedia.org/w" "" "" "Main Page") (setq mediawiki-site-alist '(("Wikipedia" "http://en.wikipedia.org/w" "" "" "Main Page")

View file

@ -38,12 +38,12 @@
(global-set-key "\C-cb" 'org-iswitchb) (global-set-key "\C-cb" 'org-iswitchb)
(setq org-log-done t) (setq org-log-done t)
(defun prelude-org-mode-defaults () ;; (defun prelude-org-mode-defaults ()
(electric-indent-mode -1)) ;; )
(setq prelude-org-mode-hook 'prelude-org-mode-defaults) ;; (setq prelude-org-mode-hook 'prelude-org-mode-defaults)
(add-hook 'org-mode-hook (lambda () (run-hooks 'prelude-org-mode-hook))) ;; (add-hook 'org-mode-hook (lambda () (run-hooks 'prelude-org-mode-hook)))
(provide 'prelude-org) (provide 'prelude-org)

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-programming "1.0.0") (python "23.1"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-programming "1.0.0") (ruby-tools "0.0.1") (inf-ruby "2.2.3") (yari "0.5") (ruby-end "0.0.1") (ruby-block "0.0.11"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-programming "1.0.0") (scala-mode "2.8.0"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://batsov.com/emacs-prelude ;; URL: http://batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-lisp "1.0.0"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.

View file

@ -6,7 +6,6 @@
;; URL: http://www.batsov.com/emacs-prelude ;; URL: http://www.batsov.com/emacs-prelude
;; Version: 1.0.0 ;; Version: 1.0.0
;; Keywords: convenience ;; Keywords: convenience
;; Package-Requires: ((prelude-css "1.0.0") (scss-mode "0.5.0"))
;; This file is not part of GNU Emacs. ;; This file is not part of GNU Emacs.
@ -34,6 +33,7 @@
;;; Code: ;;; Code:
(require 'prelude-css) (require 'prelude-css)
(prelude-ensure-module-deps '(scss-mode))
(defun prelude-scss-mode-defaults () (defun prelude-scss-mode-defaults ()
(prelude-css-mode-defaults) (prelude-css-mode-defaults)