fixed a couple of oversights

This commit is contained in:
Bozhidar Batsov 2011-10-07 23:47:41 +03:00
parent c8cb85052f
commit 6c876a6531
6 changed files with 28 additions and 2 deletions

15
.gitignore vendored Normal file
View file

@ -0,0 +1,15 @@
*~
auto-save-list
ac-comphist.dat
recentf
savehist
saveplace
rinari
rhtml
nxhtml
elpa
srecode-map.el
semanticdb
el-get
custom.el
.DS_Store

1
core-prelude.el Normal file
View file

@ -0,0 +1 @@
(provide 'core-prelude)

View file

@ -54,7 +54,7 @@
(savehist-mode t) ;; do customization before activation (savehist-mode t) ;; do customization before activation
;; save recent files ;; save recent files
(setq recentf-save-file (concat dotfiles-dir "recentf") ;; keep ~/ clean (setq recentf-save-file (concat prelude-dir "recentf") ;; keep ~/ clean
recentf-max-saved-items 100 ;; max save 100 recentf-max-saved-items 100 ;; max save 100
recentf-max-menu-items 15) ;; max 15 in menu recentf-max-menu-items 15) ;; max 15 in menu
(recentf-mode t) ;; turn it on (recentf-mode t) ;; turn it on

View file

@ -1,4 +1,9 @@
(defvar prelude-dir "~/.emacs.d/")
(add-to-list 'load-path prelude-dir)
(require 'ui-prelude) (require 'ui-prelude)
(require 'packages-prelude) (require 'packages-prelude)
(require 'core-prelude) (require 'core-prelude)
(require 'editor-prelude) (require 'editor-prelude)
(require 'global-keybindings-prelude)

View file

@ -1,3 +1,8 @@
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
(when (not package-archive-contents) (when (not package-archive-contents)
(package-refresh-contents)) (package-refresh-contents))

View file

@ -24,7 +24,7 @@
(fset 'yes-or-no-p 'y-or-n-p) (fset 'yes-or-no-p 'y-or-n-p)
;; custom Emacs 24 color themes support ;; custom Emacs 24 color themes support
(add-to-list 'custom-theme-load-path (concat dotfiles-dir "themes/")) (add-to-list 'custom-theme-load-path (concat prelude-dir "themes/"))
(load-theme 'zenburn t) (load-theme 'zenburn t)
(provide 'ui-prelude) (provide 'ui-prelude)