bbatsov / emacs-lisp-style-guide

A community-driven Emacs Lisp style guide
1.08k stars 53 forks source link

Example of a syntax-quoted form #20

Closed DamienCassou closed 1 year ago

DamienCassou commented 10 years ago

I asked on #emacs and I got these examples.

bbatsov commented 10 years ago

Yeah, we definitely need some examples here. Could expand the examples to complete (but trivial) macro definitions?

DamienCassou commented 9 years ago

@bbatsov what do you think about this?

bbatsov commented 9 years ago

The new example looks OK, but I meant that (foo ,x) example should be extended to show a macro definition. Unless the list you're dealing with is a bit bigger the advantages of syntax-quoting might not be obvious.

DamienCassou commented 1 year ago

I'm closing my old PRs :-). Feel free to revive it if you want to do anything about it.