From 18b804680d6dd4c69139783b09bf7cb5c19458c4 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 8 Oct 2025 19:14:45 -0700 Subject: [PATCH] Fix being unable to set the mark in the sly fonification buffer --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 47a3727..d402245 100644 --- a/init.el +++ b/init.el @@ -2208,7 +2208,8 @@ Note that this erases the buffer before doing anything." ,@body)) (defun my/-sly-fontify-current-input () "Function called from `post-command-hook' to fontify the current input." - (when-let ((proc (get-buffer-process (current-buffer))) + (when-let ((deactivate-mark nil) + (proc (get-buffer-process (current-buffer))) (start (process-mark proc)) (end (point-max)) (input (buffer-substring-no-properties start end))