diff options
author | Alan Pearce | 2017-05-24 10:57:10 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-24 10:57:10 +0200 |
commit | 65072b5fb67e2f7e6a1761b12e799f68404f9cdb (patch) | |
tree | 8cc5d0b2aa6b28b21d3dfe69f3ec32e16afe8017 | |
parent | 8830fc2affb29bdc47252ee9ef7a80b35b59344a (diff) | |
download | nixfiles-65072b5fb67e2f7e6a1761b12e799f68404f9cdb.tar.lz nixfiles-65072b5fb67e2f7e6a1761b12e799f68404f9cdb.tar.zst nixfiles-65072b5fb67e2f7e6a1761b12e799f68404f9cdb.zip |
Emacs: Fix byte-compile errors/warnings
-rw-r--r-- | emacs/.emacs.d/init.org | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index ac42949e..764b950c 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -513,7 +513,7 @@ based upon some folder conventions I use. :demand t :diminish projectile-mode :config (progn - (projectile-global-mode) + (projectile-mode 1) (add-to-list 'projectile-globally-ignored-directories ".stversions") (defun yarn-install (&optional arg) @@ -1277,7 +1277,7 @@ workplace, so I keep it in a host-specific, GPG-encrypted file. send-mail-function #'smtpmail-send-it message-send-mail-function #'smtpmail-send-it))) -(with-eval-after-load 'gnus-mime +(with-eval-after-load "gnus-mime" (define-key gnus-mime-button-map " " #'gnus-mime-view-part-externally)) (with-eval-after-load "mailcap" @@ -1734,8 +1734,9 @@ On-the-fly error checking in programming modes? Yes please. (global-flycheck-mode) (setq flycheck-check-syntax-automatically '(save mode-enabled)) (setq flycheck-indication-mode 'right-fringe) - (fringe-helper-define 'flycheck-fringe-bitmap-double-arrow '(center repeated) - ".XXXXXXX") + (with-eval-after-load 'git-gutter-fringe + (fringe-helper-define 'flycheck-fringe-bitmap-double-arrow '(center repeated) + ".XXXXXXX")) (if (executable-find "eslint_d") (setq flycheck-javascript-eslint-executable "eslint_d")))) #+END_SRC @@ -2353,6 +2354,7 @@ nice, when I remember to use it. #+BEGIN_SRC emacs-lisp (use-package eshell :bind ("C-c s" . eshell) + :functions (eshell/pwd) :config (progn (setq eshell-directory-name "~/.emacs.d/eshell" eshell-prompt-function (lambda () @@ -2437,7 +2439,7 @@ The most important one for me is JSON property alignment. I like to use the clipboard more than the primary selection in X11. #+BEGIN_SRC emacs-lisp -(setq x-select-enable-clipboard t +(setq select-enable-clipboard t save-interprogram-paste-before-kill t) (if (functionp 'x-cut-buffer-or-selection-value) (setq interprogram-paste-function 'x-cut-buffer-or-selection-value)) |