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

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

Re: Setting up abbrev


From: uzibalqa
Subject: Re: Setting up abbrev
Date: Mon, 01 Aug 2022 10:41:32 +0000

------- Original Message -------
On Monday, August 1st, 2022 at 3:03 AM, Emanuel Berg <incal@dataswamp.org> 
wrote:


> wilnerthomas--- via Users list for the GNU Emacs text editor wrote:
>
> > Have seen discussions about abbrev. How does it work
> > exactly, and how could I set it up to test it?
>
>
> Try for example:
>
> ;;; -- lexical-binding: t --
>
> ;; (kill-all-abbrevs)
> (let ((write '(
> ("lex" ";;; -- lexical-binding: t --")
> ("sld" "sdl")
> ("wierd" "weird")
> )))
> (define-abbrev-table 'global-abbrev-table write) )

I see that you make a list of three elements, each of which is a list of two 
elements.
Had been using (sld" . "sdl") thing instead.





reply via email to

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