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

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

[nongnu] elpa/rust-mode 716c0fc6e4 2/5: Do not prettify || after various


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 716c0fc6e4 2/5: Do not prettify || after various symbols
Date: Tue, 28 Dec 2021 07:58:27 -0500 (EST)

branch: elpa/rust-mode
commit 716c0fc6e4db1a3822d8f954f13fb3f1978ce90b
Author: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Commit: Christophe Troestler <Christophe.Troestler@umons.ac.be>

    Do not prettify || after various symbols
---
 rust-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust-mode.el b/rust-mode.el
index 6f8a214fd3..32794c5f10 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -227,7 +227,7 @@ See `prettify-symbols-compose-predicate'."
        (pcase match
          ("||" (not (save-excursion
                       (goto-char start)
-                      (looking-back "\\(?:\\<move\\|=\\) *"))))
+                      (looking-back "\\(?:\\<move\\|[[({:=,;]\\) *"))))
          ("&&" (char-equal (char-after end) ?\s))
          (_ t))))
 



reply via email to

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