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

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

Re: Convert list for use by abbrev-mode


From: Emanuel Berg
Subject: Re: Convert list for use by abbrev-mode
Date: Mon, 01 Aug 2022 05:28:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

carlmarcos--- via Users list for the GNU Emacs text editor wrote:

> For instance, I would start from
>
> (setq prototablet-word-list-2
>      '( ("some" . "so")   ("than" . "n")     ("that" . "ta")
>       ("there" . "tr")  ("this" . "th")    ("time" . "ti") ))

You don't need to since if you do it that way might as well do
it first-hand to begin with.

;; (kill-all-abbrevs)
(let ((write '(
               ("lenght" "lenght")
               ("lex"    ";;; -*- lexical-binding: t -*-")
               ("sld"    "sdl")
               ("wierd"  "weird")
               )))
  (define-abbrev-table 'global-abbrev-table write) )

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




reply via email to

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