branch: externals/ampc
commit 4ae66dfad8f2d84559d82fffcc4549e32bef6181
Author: Christopher Schmidt <christop...@ch.ristopher.com>
Commit: Christopher Schmidt <christop...@ch.ristopher.com>

    * ampc.el (ampc-fill-skeleton): Add mouse highlighting for list entries.
---
 ampc.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ampc.el b/ampc.el
index f8c67244f9..0edb6176fd 100644
--- a/ampc.el
+++ b/ampc.el
@@ -565,7 +565,11 @@ all the time!"
                when (get-text-property (point) 'updated)
                do (delete-region (point) (1+ (line-end-position)))
                else
-               do (forward-line nil)
+               do (add-text-properties
+                   (+ (point) 2)
+                   (progn (forward-line nil)
+                          (1- (point)))
+                   '(mouse-face highlight))
                end)
          (goto-char point)
          (ampc-align-point))

Reply via email to