* 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).