home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / emacs / 3770 < prev    next >
Encoding:
Text File  |  1992-12-12  |  793 b   |  19 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!psinntp!nysernet.org!astein
  3. From: astein@nysernet.org (Alan Stein)
  4. Subject: Replacing with Nothing
  5. Message-ID: <1992Dec11.135854.3009@nysernet.org>
  6. Organization: NYSERNet, Inc.
  7. Date: Fri, 11 Dec 1992 13:58:54 GMT
  8. Lines: 9
  9.  
  10. If I want to just delete every instance of a character string and
  11. replace it with absolutely nothing, I just press the meta key when I'm
  12. prompted for the replacement string.  This works fine if that's the
  13. first time I've done a replacement.  But that doesn't work if I've
  14. done a replacement before during that emacs session, in which case
  15. just pressing the meta key acts to accept the previous replacement.
  16. How can I do such a search and replace in that case?
  17. -- 
  18. Alan H. Stein   -----  AJIN   -----  astein@israel.nysernet.org
  19.