[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/idris-mode c18ae30 4/8: [ cleanup ] from idris2-mode use `
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/idris-mode c18ae30 4/8: [ cleanup ] from idris2-mode use `cadr` where appropriate. |
Date: |
Wed, 3 Nov 2021 10:57:49 -0400 (EDT) |
branch: elpa/idris-mode
commit c18ae30a039868e2fa9995f14ad8a4dce50a6b40
Author: Jan de Muijnck-Hughes <jan.deMuijnck-Hughes@glasgow.ac.uk>
Commit: Jan de Muijnck-Hughes <jan.deMuijnck-Hughes@glasgow.ac.uk>
[ cleanup ] from idris2-mode use `cadr` where appropriate.
---
idris-common-utils.el | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/idris-common-utils.el b/idris-common-utils.el
index 444d21a..d08b451 100644
--- a/idris-common-utils.el
+++ b/idris-common-utils.el
@@ -161,13 +161,10 @@ inserted text (that is, relative to point prior to
insertion)."
(err-face (if idris-err
'(idris-warning-face)
()))
- (text-face (pcase text-format
- (`(:text-formatting :bold)
- '(bold))
- (`(:text-formatting :italic)
- '(italic))
- (`(:text-formatting :underline)
- '(underline))
+ (text-face (pcase (cadr text-format)
+ (:bold '(bold))
+ (:italic '(italic))
+ (:underline '(underline))
(_ nil)))
(link-face (if link-href '(idris-link-face) ()))
(unique-val (cl-gensym)) ; HACK to stop consecutive mouse-faces from
interfering
- [nongnu] elpa/idris-mode updated (2939f5a -> 6c22a7b), ELPA Syncer, 2021/11/03
- [nongnu] elpa/idris-mode c59c649 1/8: [ admin ] updated makefile, ELPA Syncer, 2021/11/03
- [nongnu] elpa/idris-mode 5972512 3/8: [ cosmetic ] Upstream change from idris2., ELPA Syncer, 2021/11/03
- [nongnu] elpa/idris-mode 400c54f 6/8: [ upstream ] Fix documentation and bytecode generation., ELPA Syncer, 2021/11/03
- [nongnu] elpa/idris-mode c18ae30 4/8: [ cleanup ] from idris2-mode use `cadr` where appropriate.,
ELPA Syncer <=
- [nongnu] elpa/idris-mode ed628e8 2/8: [ ipkg-mode ] Merged in changes from idris2-mode for ipkg keywords., ELPA Syncer, 2021/11/03
- [nongnu] elpa/idris-mode 753b594 5/8: [ fixup ] add missing dependency., ELPA Syncer, 2021/11/03
- [nongnu] elpa/idris-mode b6f6fb2 7/8: [ ci ] deprecate older emacs., ELPA Syncer, 2021/11/03
- [nongnu] elpa/idris-mode 6c22a7b 8/8: Merge pull request #544 from jfdm/borrowings-idris2-mode, ELPA Syncer, 2021/11/03