[Top][All Lists]

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

RE: minor-table-list-alist, once again

From: Doug Lewan
Subject: RE: minor-table-list-alist, once again
Date: Fri, 19 Oct 2012 15:31:16 +0000


You need the '.' in the items that you've created to build an association list.
See if this works:
    (define-abbrev-table 'polonais-mode-abbrev-table '(("ków" . "Kraków")))

I think your use of (add-to-list) is right.

Let me know if this helps.


> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of damien.thiriet77
> Sent: Friday, 2012 October 19 11:02
> To: address@hidden
> Subject: minor-table-list-alist, once again
> Hello,
> My previous post had no echo, but I am really in trouble with this
> minor-table-alist variable. Google cannot show any concrete example,
> only the (VARIABLE . ABBREV-TABLE), which I obviously did not
> understand. I am just a historian trying to ease its everyday work…
> So, I have set my table polonais-mode-abbrev-table
> (define-abbrev-table 'polonais-mode-abbrev-table '(("ków" "Kraków"))),
> how should I write my add-to-list?
> (add-to-list 'abbrev-minor-mode-table-alist
> '(polonais-mode . polonais-mode-abbrev-table))
> does not work. I cannot write anything, it returns:
> Wrong type argument: vectorp, polonais-mode-abbrev-table
> I am sure polonais-mode is non-nil (returns t when evaluated). Is it a
> bug, then?
> Une messagerie gratuite, garantie à vie et des services en plus, ça
> vous tente ?
> Je crée ma boîte mail

reply via email to

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