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

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

Setup from dabbrev for matching and adding to a list


From: wilnerthomas
Subject: Setup from dabbrev for matching and adding to a list
Date: Sun, 21 Aug 2022 00:11:20 +0200 (CEST)

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") ))



reply via email to

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