emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/sweeprolog 9fe5830e96 04/13: Provide basic 'prettify-symbo


From: ELPA Syncer
Subject: [nongnu] elpa/sweeprolog 9fe5830e96 04/13: Provide basic 'prettify-symbols-alist' in Sweep Prolog mode
Date: Sun, 17 Sep 2023 04:00:42 -0400 (EDT)

branch: elpa/sweeprolog
commit 9fe5830e96e5c5cefce206cfad8b120b0e1c893c
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>

    Provide basic 'prettify-symbols-alist' in Sweep Prolog mode
    
    * sweeprolog.el (sweeprolog-mode): set a local value for
    'prettify-symbols-alist' that renders the neck operator as a unicode
    left arrow.
---
 sweeprolog.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sweeprolog.el b/sweeprolog.el
index 266db397d5..3941d816b9 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -4688,6 +4688,7 @@ certain contexts to maintain conventional Prolog layout."
   (setq-local comment-multi-line t)
   (setq-local add-log-current-defun-function
               #'sweeprolog-add-log-current-defun)
+  (setq-local prettify-symbols-alist '((":-" . ?←)))
   (setq-local mode-line-process
               '(:eval
                 (when (sweeprolog-buffer-loaded-since-last-modification-p)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]