summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-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)