unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: emacs-lisp-mode and abbrev table
       [not found] <87hbyd8vpw.fsf@newsguy.com>
@ 2009-06-19 15:06 ` Andreas Roehler
  0 siblings, 0 replies; only message in thread
From: Andreas Roehler @ 2009-06-19 15:06 UTC (permalink / raw)
  To: Harry Putnam; +Cc: help-gnu-emacs

Harry Putnam wrote:
> Running recent  emacs from cvs 
> GNU Emacs 23.0.94.1 (i486-pc-linux-gnu) of 2009-06-10 on reader
>  
> Posted here in case this problem I'm having is 23.X related.
> 
> I can't make an abbrev work in emacs-lisp-mode for some reason.
> 
> There are no errors when I commit them with `Ctrl-c Ctrl-c'
> 
> But when i return to ~/.emacs... the abbrevs don't work.
> closing emacs and restarting it doesn't help either... and I see no
> message about saving abbrevs when I close emacs.
> 
> Here's an example from abbrevs table:
> 
>   (emacs-lisp-mode-abbrev-table)
> 
>   "smt"          0    "something"
> 
> 
> But it doesn't work in ~/.emacs
> 
> With .emacs open  eval: major-mode  shows emacs-lisp-mode
> 
> 
> 
> 


for some reasons I ignore mode abbrev-table in charge usually is

(lisp-mode-abbrev-table)

editing this should deliver the result.

Try (abbrev-table-name local-abbrev-table)


Andreas





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-19 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87hbyd8vpw.fsf@newsguy.com>
2009-06-19 15:06 ` emacs-lisp-mode and abbrev table Andreas Roehler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).