summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-05-13 17:32:49 +0200
committerAlan Pearce2015-05-13 17:32:49 +0200
commit8b19276716ade2749a6496d31bf82da0ddf0c944 (patch)
treee122d270ec818874f7ffb9596b318cc488ea548e
parente739c34930d9b7b02832f206851842ffa46c3484 (diff)
downloaddotfiles-8b19276716ade2749a6496d31bf82da0ddf0c944.tar.lz
dotfiles-8b19276716ade2749a6496d31bf82da0ddf0c944.tar.zst
dotfiles-8b19276716ade2749a6496d31bf82da0ddf0c944.zip
Emacs: Fix warnings
-rw-r--r--tag-emacs/emacs.d/init.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 3a9d6d9..8fc17f3 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -80,7 +80,7 @@
   (let ((from-arc (mapcar #'car
                           (--filter (equalp (package-desc-archive (cdr it)) archive)
                                     (package-list-installed)))))
-    (if (called-interactively-p)
+    (if (called-interactively-p 'any)
         (message "%s" from-arc)
       from-arc)))
 
@@ -1047,10 +1047,11 @@ mouse-1: Display Line and Column Mode Menu"))))))
   :init (add-hook 'magit-mode-hook #'magit-load-config-extensions))
 
 ;;;; Spelling
-(setq ispell-program-name "aspell"
-      ispell-dictionary "british")
 (req-package ispell
-  :bind (("<f8>" . ispell-word)))
+  :bind (("<f8>" . ispell-word))
+  :config (progn
+            (setq ispell-program-name "aspell"
+                  ispell-dictionary "british")))
 
 ;;;; Scripting
 
@@ -1278,7 +1279,7 @@ symbol, not word, as I need this for programming the most."
 (rename-modeline emacs-lisp-mode "ΞΎ")
 (add-to-list 'auto-mode-alist '("/Cask\\'" . emacs-lisp-mode))
 (add-hook 'emacs-lisp-mode-hook #'ap/lisp-setup)
-(add-hook 'emacs-lisp-mode-hook #'turn-on-eldoc-mode)
+(add-hook 'emacs-lisp-mode-hook #'eldoc-mode)
 
 (add-hook 'scheme-mode-hook #'ap/lisp-setup)
 (add-hook 'lisp-mode-hook #'ap/lisp-setup)