summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-07-26 10:31:51 +0200
committerAlan Pearce2019-07-26 10:31:51 +0200
commit00f0950253e447dc068faab6afadca699aa685d1 (patch)
treec72b54d6c2ceb3b983ea20d614f352bb7ef531af /emacs
parent24106be951633892312ff354bc81e2b34150031c (diff)
downloadnixfiles-00f0950253e447dc068faab6afadca699aa685d1.tar.lz
nixfiles-00f0950253e447dc068faab6afadca699aa685d1.tar.zst
nixfiles-00f0950253e447dc068faab6afadca699aa685d1.zip
Emacs: use preloaded trim function
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 0e4219b9..8289b74e 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -353,7 +353,7 @@ With two prefix arguments, write out the day and month name."
 
 (eval-and-compile
   (defun company-tabnine-load-path ()
-    (s-trim-right (shell-command-to-string "ghq list -p company-tabnine"))))
+    (string-trim-right (shell-command-to-string "ghq list -p company-tabnine"))))
 
 (use-package company-tabnine
   :commands (company-tabnine)