minor-minor-mode-abbrev-table and add-local-mode-abbrev

Uwe Brauer oub at mat.ucm.es
Fri Sep 28 06:05:17 EDT 2007


Hello 

As far as I know it is possible to define a local minor mode abbrev
table.
Like this

(define-abbrev-table 'spanish-minor-mode-abbrev-table '(
     ("tx" "texto" nil 0)
     ))

And the corresponding code of the minor mode.

However what I don't know is how to implement functions which would
correspond to add-local-mode-abbrev
for that minor-mode.

Rationale:

I would like to have flyspells abbrev mechanism to work for different
languages, as I wrote in an earlier message. One idea is to use a
mayor mode and the indirect buffer command. However a more convenient
solutions seems to me to use minor modes and the relevant abbrev
commands.

Thanks 

Uwe Brauer  



More information about the XEmacs-Beta mailing list