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

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

rebinding `!'


From: Chandan Singh Dalawat
Subject: rebinding `!'
Date: Thu, 18 Apr 2002 09:44:46 +0530

In text-mode, I want to rebind `!' to `聽!' with a nobreak-space
(obtained via C-x 8 SPC) just before the `!'.  My simple-minded
solution was to say

   (define-key text-mode-map "!" "聽!") 

in my .emacs file.  But this doesn't work ; it leads to infinite
recursion and I deservedly get the error message

   After 0 kbd macro iterations: Variable binding depth exceeds
   max-specpdl-size. 

How do I overcome this problem聽?
























reply via email to

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