summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-08-04 15:10:07 +0200
committerAlan Pearce2019-08-04 15:10:07 +0200
commit9bf92e6593cd48132d0f1cf4fadc349a08967f9a (patch)
tree05915b9d325adc4554f46d628ca2dcf1ef2d21a2 /emacs
parent9f7c4ac3b19f09f0586c79ea557de0428ce7be0f (diff)
downloadnixfiles-9bf92e6593cd48132d0f1cf4fadc349a08967f9a.tar.lz
nixfiles-9bf92e6593cd48132d0f1cf4fadc349a08967f9a.tar.zst
nixfiles-9bf92e6593cd48132d0f1cf4fadc349a08967f9a.zip
Emacs: reduce byte-compiler warnings
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index a67b371c..9b4dfa6a 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -453,6 +453,7 @@ With two prefix arguments, write out the day and month name."
 (use-package esh-autosuggest
   :ghook ('eshell-mode-hook))
 
+(declare-function eshell-push-command "esh-buf-stack" (CMD))
 (defun my-bind-esh-push ()
   (general-define-key
    :states '(normal insert)
@@ -470,6 +471,7 @@ With two prefix arguments, write out the day and month name."
   :when (executable-find "fish")
   :after (bash-completion)
   :custom ((fish-completion-fallback-on-bash-p t))
+  :commands (global-fish-completion-mode)
   :config (global-fish-completion-mode))
 
 (use-package esh-help