Small fix (redundancy).

This commit is contained in:
larstvei 2014-01-05 13:19:03 +01:00
parent 7014e03cd3
commit f4290bfe53
2 changed files with 49 additions and 52 deletions

View File

@ -65,9 +65,9 @@ PACKAGE is installed and the current version is deleted."
(time-stamp))) (time-stamp)))
(when do-package-update-on-init (when do-package-update-on-init
(package-refresh-contents)) (package-refresh-contents)
(dolist (package (dolist (package
'(ac-geiser ; Auto-complete backend for geiser '(ac-geiser ; Auto-complete backend for geiser
ac-slime ; An auto-complete source using slime completions ac-slime ; An auto-complete source using slime completions
ace-jump-mode ; quick cursor location minor mode ace-jump-mode ; quick cursor location minor mode
@ -90,7 +90,6 @@ PACKAGE is installed and the current version is deleted."
pretty-lambdada ; the word `lambda' as the Greek letter. pretty-lambdada ; the word `lambda' as the Greek letter.
smex ; M-x interface with Ido-style fuzzy matching. smex ; M-x interface with Ido-style fuzzy matching.
)) ))
(when do-package-update-on-init
(upgrade-or-install-package package))) (upgrade-or-install-package package)))
(dolist (feature (dolist (feature

View File

@ -136,7 +136,7 @@
#+BEGIN_SRC emacs-lisp :tangle yes #+BEGIN_SRC emacs-lisp :tangle yes
(when do-package-update-on-init (when do-package-update-on-init
(package-refresh-contents)) (package-refresh-contents)
(dolist (package (dolist (package
'(ac-geiser ; Auto-complete backend for geiser '(ac-geiser ; Auto-complete backend for geiser
@ -161,7 +161,6 @@
pretty-lambdada ; the word `lambda' as the Greek letter. pretty-lambdada ; the word `lambda' as the Greek letter.
smex ; M-x interface with Ido-style fuzzy matching. smex ; M-x interface with Ido-style fuzzy matching.
)) ))
(when do-package-update-on-init
(upgrade-or-install-package package))) (upgrade-or-install-package package)))
#+END_SRC #+END_SRC
@ -508,7 +507,6 @@
(car (setq ispell-languages (cdr ispell-languages))))) (car (setq ispell-languages (cdr ispell-languages)))))
#+END_SRC #+END_SRC
** Org ** Org
I use =org-agenda= for appointments and such. I use =org-agenda= for appointments and such.