all repos — nixfiles @ 00f0950253e447dc068faab6afadca699aa685d1

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

Emacs: use preloaded trim function
Alan Pearce alan@alanpearce.eu
Fri, 26 Jul 2019 10:31:51 +0200
commit

00f0950253e447dc068faab6afadca699aa685d1

parent

24106be951633892312ff354bc81e2b34150031c

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -353,7 +353,7 @@ (use-package all-the-icons) 
 (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)