fixed a couple of oversights
This commit is contained in:
parent
c8cb85052f
commit
6c876a6531
6 changed files with 28 additions and 2 deletions
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal 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
1
core-prelude.el
Normal file
|
@ -0,0 +1 @@
|
|||
(provide 'core-prelude)
|
|
@ -54,7 +54,7 @@
|
|||
(savehist-mode t) ;; do customization before activation
|
||||
|
||||
;; 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-menu-items 15) ;; max 15 in menu
|
||||
(recentf-mode t) ;; turn it on
|
||||
|
|
5
init.el
5
init.el
|
@ -1,4 +1,9 @@
|
|||
(defvar prelude-dir "~/.emacs.d/")
|
||||
|
||||
(add-to-list 'load-path prelude-dir)
|
||||
|
||||
(require 'ui-prelude)
|
||||
(require 'packages-prelude)
|
||||
(require 'core-prelude)
|
||||
(require 'editor-prelude)
|
||||
(require 'global-keybindings-prelude)
|
||||
|
|
|
@ -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)
|
||||
(package-refresh-contents))
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
(fset 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
;; 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)
|
||||
|
||||
(provide 'ui-prelude)
|
||||
|
|
Loading…
Reference in a new issue