From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: major mode for fpscalc + some meta
Date: Sun, 22 Sep 2013 23:08:37 -0400 [thread overview]
Message-ID: <jwv4n9c8ccw.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87eh8gs5nf.fsf@nl106-137-194.student.uu.se
> (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
next prev parent reply other threads:[~2013-09-23 3:08 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-22 14:45 major mode for fpscalc + some meta Emanuel Berg
2013-09-22 18:32 ` Stefan Monnier
2013-09-22 23:07 ` Suvayu Ali
[not found] ` <mailman.2705.1379874790.10748.help-gnu-emacs@gnu.org>
2013-09-22 23:20 ` Emanuel Berg
2013-09-23 0:15 ` Stefan Monnier
[not found] ` <mailman.2719.1379895349.10748.help-gnu-emacs@gnu.org>
2013-09-23 1:11 ` Emanuel Berg
2013-09-23 3:08 ` Stefan Monnier [this message]
[not found] ` <mailman.2723.1379905744.10748.help-gnu-emacs@gnu.org>
2013-09-23 3:23 ` Emanuel Berg
2013-09-23 3:25 ` Emanuel Berg
2013-10-02 0:19 ` Emanuel Berg
2013-10-02 0:58 ` Stefan Monnier
[not found] ` <mailman.3228.1380675623.10748.help-gnu-emacs@gnu.org>
2013-10-02 1:05 ` Emanuel Berg
2013-10-02 2:05 ` Stefan Monnier
[not found] ` <mailman.3233.1380679539.10748.help-gnu-emacs@gnu.org>
2013-10-02 2:10 ` Emanuel Berg
2013-10-02 4:07 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv4n9c8ccw.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).