From 8b19276716ade2749a6496d31bf82da0ddf0c944 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 13 May 2015 17:32:49 +0200 Subject: Emacs: Fix warnings --- tag-emacs/emacs.d/init.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'tag-emacs') 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 (("" . ispell-word))) + :bind (("" . 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) -- cgit 1.4.1