AHA, no more "ohh what's the comment syntax" BS

This commit is contained in:
Benson Chu 2022-09-25 08:30:16 -05:00
parent e28ad8ab25
commit 7eb3598538

View file

@ -417,9 +417,10 @@
(autoload 'cider--make-result-overlay "cider-overlays")
(defun endless/eval-overlay (value point)
(cider--make-result-overlay (format "%S" value)
:where point
:duration 'command)
(let ((comment-start ";;"))
(cider--make-result-overlay (format "%S" value)
:where point
:duration 'command))
value)
(advice-add 'eval-region :around