Whitespace cleanup.

This commit is contained in:
Lars Tveito 2015-04-07 21:08:54 +02:00
parent 5f3196350f
commit d640f58f48
2 changed files with 14 additions and 14 deletions

View File

@ -65,11 +65,11 @@ tangled, and the tangled file is compiled."
(cond ((and local-pkg-desc newest-pkg-desc) (cond ((and local-pkg-desc newest-pkg-desc)
(version-list-= (package-desc-version (version-list-= (package-desc-version
(funcall get-desc local-pkg-desc)) (funcall get-desc local-pkg-desc))
(package-desc-version (package-desc-version
(funcall get-desc newest-pkg-desc)))) (funcall get-desc newest-pkg-desc))))
((and builtin-version newest-pkg-desc) ((and builtin-version newest-pkg-desc)
(version-list-= builtin-version (version-list-= builtin-version
(package-desc-version (package-desc-version
(funcall get-desc newest-pkg-desc)))))))) (funcall get-desc newest-pkg-desc))))))))
;; Let's write a function to install a package if it is not installed or ;; Let's write a function to install a package if it is not installed or
@ -702,7 +702,7 @@ given, the duplicated region will be commented out."
;; enabled themes. ;; enabled themes.
(defadvice load-theme (defadvice load-theme
(before disable-before-load (theme &optional no-confirm no-enable) activate) (before disable-before-load (theme &optional no-confirm no-enable) activate)
(mapc 'disable-theme custom-enabled-themes)) (mapc 'disable-theme custom-enabled-themes))
;; Presentation-mode ;; Presentation-mode

View File

@ -117,11 +117,11 @@
(cond ((and local-pkg-desc newest-pkg-desc) (cond ((and local-pkg-desc newest-pkg-desc)
(version-list-= (package-desc-version (version-list-= (package-desc-version
(funcall get-desc local-pkg-desc)) (funcall get-desc local-pkg-desc))
(package-desc-version (package-desc-version
(funcall get-desc newest-pkg-desc)))) (funcall get-desc newest-pkg-desc))))
((and builtin-version newest-pkg-desc) ((and builtin-version newest-pkg-desc)
(version-list-= builtin-version (version-list-= builtin-version
(package-desc-version (package-desc-version
(funcall get-desc newest-pkg-desc)))))))) (funcall get-desc newest-pkg-desc))))))))
#+END_SRC #+END_SRC
@ -475,7 +475,7 @@
#+END_SRC #+END_SRC
# [[https://github.com/milkypostman/powerline][Powerline]] is an extension to customize the mode line. This is modified # [[https://github.com/milkypostman/powerline][Powerline]] is an extension to customize the mode line. This is modified
# version =powerline-nano-theme=. # version =powerline-nano-theme=.
# #+BEGIN_SRC emacs-lisp # #+BEGIN_SRC emacs-lisp
# (setq-default # (setq-default
@ -504,7 +504,7 @@
# #+END_SRC # #+END_SRC
# This is what it looks like: # This is what it looks like:
# [[./powerline.png]] # [[./powerline.png]]
** Ido ** Ido
@ -885,11 +885,11 @@
When interactively changing the theme (using =M-x load-theme=), the When interactively changing the theme (using =M-x load-theme=), the
current custom theme is not disabled. This often gives weird-looking current custom theme is not disabled. This often gives weird-looking
results; we can advice =load-theme= to always disable themes currently results; we can advice =load-theme= to always disable themes currently
enabled themes. enabled themes.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defadvice load-theme (defadvice load-theme
(before disable-before-load (theme &optional no-confirm no-enable) activate) (before disable-before-load (theme &optional no-confirm no-enable) activate)
(mapc 'disable-theme custom-enabled-themes)) (mapc 'disable-theme custom-enabled-themes))
#+END_SRC #+END_SRC
@ -929,7 +929,7 @@
=~/.emacs_bash=, to make the transition between my standard terminal and =~/.emacs_bash=, to make the transition between my standard terminal and
the shell as small as possible. To be able to quickly switch back and the shell as small as possible. To be able to quickly switch back and
forth between a shell I make use of this little function. forth between a shell I make use of this little function.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defun toggle-shell () (defun toggle-shell ()
"Jumps to eshell or back." "Jumps to eshell or back."
@ -954,7 +954,7 @@
(let ((comint-buffer-maximum-size 0)) (let ((comint-buffer-maximum-size 0))
(comint-truncate-buffer))) (comint-truncate-buffer)))
#+END_SRC #+END_SRC
Lastly we should bind our functions. The =toggle-shell= should be a Lastly we should bind our functions. The =toggle-shell= should be a
global binding (because we want to be able to switch to a shell from any global binding (because we want to be able to switch to a shell from any
buffer), but the =clear-shell= should only affect =shell-mode=. buffer), but the =clear-shell= should only affect =shell-mode=.
@ -1311,16 +1311,16 @@
My Emacs configurations written in Org mode. My Emacs configurations written in Org mode.
Copyright (c) 2013 - 2014 Lars Tveito Copyright (c) 2013 - 2014 Lars Tveito
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.