home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Wed, 27 Jan 1993 17:58:58 EST
- From: piggy%hilbert.maths.utas.edu.au@lucid.com (La Monte Yarroll)
- Message-ID: <9301270742.AA06561@hilbert.maths.utas.edu.au>
- Subject: How to replace self-insert-command?
- Date: Wed, 27 Jan 1993 18:42:27 EST
- X-Mailer: ELM [version 2.2 PL11]
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 16
-
- I'd like to replace self-insert-command with my own routine.
-
- Under plain GNU emacs I can define a function like this:
-
- (defun self-insert-wrapper (arg)
- (interactive "p")
- (self-insert-command arg))
-
- and then replace every instance of 'self-insert-command in global-map
- with 'self-insert-wrapper.
-
- Under Lucid emacs 19.4 this almost works, except it breaks incremental
- searching.
-
- Is there a way to do this WITHOUT breaking incremental searching?
-
-