all repos — nixfiles @ 65072b5fb67e2f7e6a1761b12e799f68404f9cdb

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

Emacs: Fix byte-compile errors/warnings

Alan Pearce
commit

65072b5fb67e2f7e6a1761b12e799f68404f9cdb

parent

8830fc2affb29bdc47252ee9ef7a80b35b59344a

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

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -513,7 +513,7 @@ ("s-G" . projectile-vc))
: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 @@ mml-secure-openpgp-encrypt-to-self t
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 @@ :config (progn
(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 @@
#+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 @@
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))