[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/macrostep 51d5b6a 036/110: Fix a bug with printing the fir
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/macrostep 51d5b6a 036/110: Fix a bug with printing the first element of a list. |
Date: |
Sat, 7 Aug 2021 09:17:57 -0400 (EDT) |
branch: elpa/macrostep
commit 51d5b6af75586a82a03e8186ec3a0ba26a2597ce
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>
Fix a bug with printing the first element of a list.
`macrostep-print-sexp` formerly used `prin1` to print the car of a list
form, so fontification was not applied to these correctly. This
manifested itself most obviously in the binding lists in `let`-like
forms, which were not fontified when they contained gensyms.
---
macrostep.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/macrostep.el b/macrostep.el
index 3aa5f8a..a00802a 100644
--- a/macrostep.el
+++ b/macrostep.el
@@ -741,11 +741,11 @@ expansion will not be fontified. See also
'macrostep-expanded-text sexp)
;; Fontify the head of the macro
(macrostep-propertize
- (prin1 head (current-buffer))
+ (macrostep-print-sexp head)
'font-lock-face 'macrostep-macro-face))
;; Not a macro form
(insert "(")
- (prin1 head (current-buffer)))
+ (macrostep-print-sexp head quoted-form-p))
;; Print remaining list elements
(setq sexp (cdr sexp))
- [nongnu] elpa/macrostep 6c4afbe 002/110: Got rid of `macrostep-change-group'. Updated some documentation., (continued)
- [nongnu] elpa/macrostep 6c4afbe 002/110: Got rid of `macrostep-change-group'. Updated some documentation., ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep e2bf1aa 005/110: Change :reverse-video to :inverse-video for e24, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 993a79f 010/110: bump version number, add changelog, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 9cd6742 016/110: Try to be smarter about maintaining buffer state, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep cb2019e 017/110: acknowledgements in docs, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 5c62a4c 021/110: Merge remote-tracking branch 'georgek/backquotes', ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep f026495 025/110: Fix comment typos, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 77c0c1a 023/110: update readme, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep b04f8db 026/110: Basic support for expanding macros bound by `macrolet', ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 7acce07 028/110: Require `cl-macs` at runtime, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 51d5b6a 036/110: Fix a bug with printing the first element of a list.,
ELPA Syncer <=
- [nongnu] elpa/macrostep 07e14e2 032/110: Test for macrostep-environment-at-point, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep c93c2d6 053/110: Language-agnostic macro-form boundaries, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep e3e5c12 034/110: Merge branch 'expand-macrolet', ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 4ea178a 045/110: Simplify overlay collapsing, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 2519692 038/110: Restore narrowing, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep c748996 057/110: Tweak macrostep-slime-macro-form-p, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 3757ec4 033/110: Extend macrostep-environment while printing macrolet body forms, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep a478a3a 054/110: Bind inhibit-read-only instead of buffer-read-only, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 8d72b62 044/110: Fix indentation in new macrostep-pp function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 8950313 037/110: Bump version number and changelog for 0.8, ELPA Syncer, 2021/08/07