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

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

Re: how to send ")"


From: Kai Großjohann
Subject: Re: how to send ")"
Date: Sun, 01 Sep 2002 20:39:33 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Joe Corneli <jcorneli@math.utexas.edu> writes:

> (defalias 'rightparen
>   (read-kbd-macro ")"))
>
> causes the compiler to complain.

Well, read-kbd-macro probably does not return a function name.  Why
not the following?

(defun rightparen ()
  (interactive)
  (insert ")"))

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)


reply via email to

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