From 2221a56ad4b2b61abeba346454779c8456930380 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 29 Oct 2015 08:58:49 +0100 Subject: Emacs: Remove errors & warnings --- tag-emacs/emacs.d/init.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 97689d7..3e16c80 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -465,7 +465,7 @@ with a buffer. (if server-buffer-clients (server-edit) (let ((buf (buffer-name))) - (when (equalp buf "*HTTP Response*") + (when (equal buf "*HTTP Response*") (other-window 1)) (kill-buffer buf))))) #+END_SRC @@ -480,7 +480,7 @@ open it. Whitespace butler fixes whitespace only for lines that I’m editing. :if window-system :config (ws-butler-global-mode 1)) (if (daemonp) - (add-hook #'before-make-frame-hook (lambda () (ws-butler-global-mode 1)))) + (add-hook 'before-make-frame-hook (lambda () (ws-butler-global-mode 1)))) #+END_SRC ** shrink-whitespace @@ -1129,8 +1129,8 @@ Option/alt, then Control. (unbind-key "s-w") (bind-key* "s-k" #'kill-or-delete-this-buffer-dwim) - (bind-key* "C-M-a" #'backward-paragraph text-mode-map) - (bind-key* "C-M-e" #'forward-paragraph text-mode-map) + (bind-key "C-M-a" #'backward-paragraph text-mode-map) + (bind-key "C-M-e" #'forward-paragraph text-mode-map) (bind-key* "s-x" (define-prefix-command 'super-x-map)) (bind-key* "s-," #'switch-to-dotfiles) -- cgit 1.4.1