* Replacing bash comment character to an elisp comment character
@ 2022-10-19 23:06 Heime via Users list for the GNU Emacs text editor
0 siblings, 0 replies; only message in thread
From: Heime via Users list for the GNU Emacs text editor @ 2022-10-19 23:06 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
I have the following variable storing a bash header. I want to construct an equivalent header
for elisp. I would not want to repeat the text, but replace the comment character "#" with ";"
when calling "elisp-header".
(defvar bash-header
"### Copying_conditions:
## This file belongs to PKNAME, a Gnu Package.
## PKNAME is free software.
### Commentary:")
(defun elisp-header ()
"TODO"
(insert bash-header))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-19 23:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 23:06 Replacing bash comment character to an elisp comment character Heime via Users list for the GNU Emacs text editor
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.