help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Replacing series of characters


From: lisa-asket
Subject: Replacing series of characters
Date: Wed, 14 Jul 2021 07:48:05 +0200 (CEST)

I would like to be able to write `;h1` in emacs and be transformed to

`@c h1 *` when in texinfo-mode.  But only if it starts at the beginning

of the line. 



But actually I would like for this to happen in any mode, by replacing

`@c` with the comment label of the particular major mode I am in.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]