all repos — nixfiles @ 8b19276716ade2749a6496d31bf82da0ddf0c944

System and user configuration, managed by nix and home-manager

Emacs: Fix warnings

Alan Pearce
commit

8b19276716ade2749a6496d31bf82da0ddf0c944

parent

e739c34930d9b7b02832f206851842ffa46c3484

1 file changed, 6 insertions(+), 5 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -80,7 +80,7 @@ :must-match t)))
(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 @@ :config (rename-modeline magit-status-mode (char-to-string (-find #'char-displayable-p '(11942 5848 177))))
: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 @@
(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)