home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Mon, 23 Nov 1992 12:51:52 EST
- Date: Mon, 23 Nov 1992 09:51:29 PST
- From: devin%scylla@lucid.com (Matthieu Devin)
- Message-ID: <9211231751.AA16569@scylla.lucid>
- Subject: Re: Question: Pending delete in lemacs
- References: <9211231745.AA01199@sundeck.East.Sun.COM>
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 17
-
- Sorry I alwasy forget that 19.4 is not released yet. Here is the patch for
- pending-del.el, add the line marked with "+."
-
- (defun delete-active-region (&optional killp)
- (if (and (not buffer-read-only)
- (extentp primary-selection-extent)
- + (eq (current-buffer) (extent-buffer primary-selection-extent))
- (< 0 (extent-start-position primary-selection-extent))
- (< 0 (extent-end-position primary-selection-extent)))
- (progn
- (if killp
- (kill-region (extent-start-position primary-selection-extent)
- (extent-end-position primary-selection-extent))
- (delete-region (extent-start-position primary-selection-extent)
- (extent-end-position primary-selection-extent)))
- t)))
-
-