next: Use str instead of cl-strings.

master
Pierre Neidhardt 2019-08-25 12:13:45 +02:00
parent 69f6f19afc
commit aa7beb040d
1 changed files with 4 additions and 4 deletions

View File

@ -50,11 +50,11 @@
(defun eval-in-emacs (&rest s-exps)
"Evaluate S-exps with `emacsclient'."
(let ((s-exps-string (cl-strings:replace-all
(write-to-string
`(progn ,@s-exps) :case :downcase)
(let ((s-exps-string (str:replace-all
;; Discard the package prefix.
"next::" "")))
"next::" ""
(write-to-string
`(progn ,@s-exps) :case :downcase))))
(log:debug "Sending to Emacs: ~a" s-exps-string)
(ignore-errors (uiop:run-program
(list "emacsclient" "--eval" s-exps-string)))))