Post AZbATIVPzwp9pZB2qe by galdor@emacs.ch
(DIR) More posts by galdor@emacs.ch
(DIR) Post #AZbATGxhjoGJ2iObey by sabogato@sunbeam.city
2023-09-09T17:27:30Z
0 likes, 0 repeats
Does any know if I can comment out a single s-exp in #Emacs lisp?For instance:```lisp(use-package foo :config (setq ...))```I usually do```lisp(use-package foo :config ;; (setq ...))```It would be nice if I could do something like the following to comment out just the setq s-exp```lisp(use-package foo :config (; setq ...))```
(DIR) Post #AZbATIVPzwp9pZB2qe by galdor@emacs.ch
2023-09-09T18:07:56Z
0 likes, 0 repeats
@sabogato Not as far as I know. In Common Lisp you would simply use a feature expression, e.g. #+null (my form). But Emacs Lisp is much more primitive and never really evolved.
(DIR) Post #AZbATJOigL3mb53D2u by sabogato@sunbeam.city
2023-09-09T17:39:59Z
0 likes, 0 repeats
A macro that basically deletes itself is basically what I need. It seems so trivial that it has to already built-in right?
(DIR) Post #AZbHOhExJ9Zmm5EJt2 by sabogato@sunbeam.city
2023-09-09T19:25:33Z
0 likes, 0 repeats
@galdor whelp, I guess it is time for me the write my first elisp macro then