all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* abbrev fire function
@ 2022-05-18 11:17 Emanuel Berg
  2022-05-18 11:56 ` Emanuel Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Emanuel Berg @ 2022-05-18 11:17 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-18 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-18 11:17 abbrev fire function Emanuel Berg
2022-05-18 11:56 ` Emanuel Berg
2022-05-18 14:42   ` Emanuel Berg

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.