Bytecompiler bytecompiler, won't you shut up
This commit is contained in:
parent
803da8b3b9
commit
26c8f5c6ef
21 changed files with 31 additions and 28 deletions
|
@ -1,7 +1,7 @@
|
|||
;;; tools/eval/autoload/eval.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +eval-display-results-in-popup (output &optional source-buffer)
|
||||
(defun +eval-display-results-in-popup (output &optional _source-buffer)
|
||||
"Display OUTPUT in a popup buffer."
|
||||
(if (with-temp-buffer
|
||||
(insert output)
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
(+eval/region-and-replace beg end))
|
||||
|
||||
;;;###autoload (autoload '+eval:repl "tools/eval/autoload/evil" nil t)
|
||||
(evil-define-operator +eval:repl (beg end &optional bang)
|
||||
(evil-define-operator +eval:repl (_beg _end)
|
||||
"Open REPL and send the current selection to it."
|
||||
:move-point nil
|
||||
(interactive "<r><!>")
|
||||
(interactive "<r>")
|
||||
(+eval/open-repl-other-window))
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
buffer)))
|
||||
|
||||
(defun +eval-open-repl (prompt-p &optional displayfn)
|
||||
(cl-destructuring-bind (mode fn . plist)
|
||||
(cl-destructuring-bind (_mode fn . plist)
|
||||
(or (assq major-mode +eval-repls)
|
||||
(list))
|
||||
(when (or (not fn) prompt-p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue