Nyxt: Declare package we are in to help SLY.

master
Pierre Neidhardt 2020-11-06 14:35:07 +01:00
parent 1cf0eba31a
commit 5d1ab2d2bb
1 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
(in-package :nyxt-user) ; While implicit, this allows SLY to know which package we are in.
(defun eval-in-emacs (&rest s-exps)
"Evaluate S-exps with `emacsclient'."
(let ((s-exps-string (cl-ppcre:regex-replace-all
@ -41,9 +43,9 @@
(define-mode my-mode ()
"Dummy mode for the custom key bindings in `*my-keymap*'."
((keymap-scheme :initform (keymap:make-scheme
scheme:emacs *my-keymap*
scheme:vi-normal *my-keymap*))))
((keymap-scheme (keymap:make-scheme
scheme:emacs *my-keymap*
scheme:vi-normal *my-keymap*))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defvar +youtube-dl-command+ "youtube-dl"