summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-01-11 16:57:01 +0000
committerAlan Pearce2014-01-11 16:57:01 +0000
commit5a5b0c4a566792c0bd8f793c4a49a1f1467b1d96 (patch)
tree3941cdc8f140f0d696ab69387265deff68ca289d
parent308390a148448798f0a7a2145ab568fe2473e9d1 (diff)
downloadnixfiles-5a5b0c4a566792c0bd8f793c4a49a1f1467b1d96.tar.lz
nixfiles-5a5b0c4a566792c0bd8f793c4a49a1f1467b1d96.tar.zst
nixfiles-5a5b0c4a566792c0bd8f793c4a49a1f1467b1d96.zip
Emacs: remove with-elapsed-timer call
-rw-r--r--emacs/init.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 70882c25..f78839eb 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -150,12 +150,11 @@ Values: `desktop', `server', `laptop'")
           (set-face-font 'variable-pitch (concat variable-face "-"
                                                  (number-to-string (1+ font-size)))))))))
 
-(with-elapsed-timer "Setting up font styles"
-  (let* ((font-height (face-attribute 'default :height))
-         (small-font-height (max 1 (floor (* .917 font-height)))))
+(let* ((font-height (face-attribute 'default :height))
+	   (small-font-height (max 1 (floor (* .917 font-height)))))
     (mapc (lambda (item)
-            (put (car item) 'customized-face (cadr item))
-            (face-spec-set (car item) (cadr item)))
+			  (put (car item) 'customized-face (cadr item))
+			  (face-spec-set (car item) (cadr item)))
           `((linum
              ((t (:height ,small-font-height
                           :foreground unspecified
@@ -216,7 +215,7 @@ Values: `desktop', `server', `laptop'")
                                           :inherit 'fixed-pitch))))
             (org-done ((t (:weight normal
                                    :strike-through t))))
-            (org-headline-done ((t (:strike-through t))))))))
+            (org-headline-done ((t (:strike-through t)))))))
 
 ;;;; Autosaves & Backups
 (let ((backup-dir (expand-file-name "~/.emacs.d/backups/")))