* Setup from dabbrev for matching and adding to a list
@ 2022-08-20 22:11 wilnerthomas--- via Users list for the GNU Emacs text editor
0 siblings, 0 replies; only message in thread
From: wilnerthomas--- via Users list for the GNU Emacs text editor @ 2022-08-20 22:11 UTC (permalink / raw)
To: Help Gnu Emacs
With a number of defconsts, one of them being shown here, I would like to match the word at point with the first string, and if there is a match, add the second string to a list. What can I do? I have taken the defconst from my setup from dabbrev. But perhaps there is a better way.
(defconst ptc-tablet-16 '( ("almost" "lmo") ("beautiful" "btf") ("big" "bg") ("bird" "b/") ("brother" "Bro") ("child" "ci") ("children" "cil") ("dear" "de") ("feel" "fl") ))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-20 22:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-20 22:11 Setup from dabbrev for matching and adding to a list wilnerthomas--- 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).