|
From: | Stefan Monnier |
Subject: | Re: major mode for fpscalc + some meta |
Date: | Sun, 22 Sep 2013 23:08:37 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> (add-hook 'fpscalc-mode-hook 'init-fpscalc-abbrevs) > (defun init-fpscalc-abbrevs () > (define-abbrev-table 'fpscalc-mode-abbrev-table > '(("init" "initialise") > ("prio" "priority") ))) Why don't you want to put define-abbrev-table needs at top-level as just the code below, somewhere before the define-derived-mode definition? (define-abbrev-table 'fpscalc-mode-abbrev-table '(("init" "initialise") ("prio" "priority") )) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |