Stop xterm-color from removing text properties.
authorplugd <plugd@thelambdalab.xyz>
Mon, 26 Jul 2021 14:56:06 +0000 (16:56 +0200)
committerplugd <plugd@thelambdalab.xyz>
Mon, 26 Jul 2021 14:56:06 +0000 (16:56 +0200)
elpher.el

index 4e69967..b018cc9 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -2240,7 +2240,8 @@ functions which initialize the client, namely
   (setq-local elpher-history nil)
   (setq-local elpher-buffer-name (buffer-name))
   (setq-local bookmark-make-record-function #'elpher-bookmark-make-record)
   (setq-local elpher-history nil)
   (setq-local elpher-buffer-name (buffer-name))
   (setq-local bookmark-make-record-function #'elpher-bookmark-make-record)
-  (setq-local imenu-create-index-function (lambda () elpher--gemini-page-headings)))
+  (setq-local imenu-create-index-function (lambda () elpher--gemini-page-headings))
+  (setq-local xterm-color-preserve-properties t))
 
 (when (fboundp 'evil-set-initial-state)
   (evil-set-initial-state 'elpher-mode 'motion))
 
 (when (fboundp 'evil-set-initial-state)
   (evil-set-initial-state 'elpher-mode 'motion))