help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: "Smart" quotes and dashes in PSGML


From: Kai Großjohann
Subject: Re: "Smart" quotes and dashes in PSGML
Date: Mon, 28 Jul 2003 18:54:48 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Florian von Savigny <florian265@uboot.com> writes:

> Incidentally, it's a pity something like the following doesn't work:
>
>   (define-key sgml-mode-map [?ä] '(lambda (insert "\&auml\;")))

I don't think that the small defuns are a problem, but why not try
this?

(define-key sgml-mode-map [?ä] 
            (lambda () (interactive) (insert "&auml;")))

This assumes that the lambda expression was the problem.  If the [?ä]
part was the problem, please holler.
-- 
~/.signature


reply via email to

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