We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de730de commit 43b1877Copy full SHA for 43b1877
elisp/shm-evaporate.el
@@ -26,6 +26,14 @@
26
"Face for text that will evaporate when modified/overwritten."
27
:group 'shm-evaporate)
28
29
+(defun shm-evaporate-before-p ()
30
+ "Before an evaporating piece of code at point?"
31
+ (let ((os (remove-if-not
32
+ (lambda (o)
33
+ (overlay-get o 'shm-evaporate-overlay))
34
+ (overlays-in (point) (1+ (point))))))
35
+ (not (null os))))
36
+
37
(defun shm-evaporate (beg end)
38
"Make the region evaporate when typed over."
39
(interactive "r")
0 commit comments