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

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

abbrev fire function


From: Emanuel Berg
Subject: abbrev fire function
Date: Wed, 18 May 2022 13:17:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

o/

(how) can I execute a function from an abbrev? e.g. I type
'zshbang' and it calls a function that inserts '#! /bin/zsh\n'
at (point-min) but also calls (sh-mode).

I remember I did this once but not how ...

TIA

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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