home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Sender: help-lucid-emacs-request@lucid.com
- Date: Mon, 27 Jul 92 09:02:31 +0200
- From: queinnec%geant.cenatls.cena.dgac.fr@lucid.com (Philippe Queinnec)
- Message-ID: <9207270702.AA20505@geant.cenatls.cena.dgac.fr>
- Subject: Re: lhilit.el
- References: <9207082022.AA02976@kocrsw12.delcoelect.com>
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Lines: 46
-
- Here is a patch for lhilit.el with the following changes:
- - in hilit::hilit-buffer, a few variables were used without being locally
- bound.
- - remove the requirement of cl: it was used only for two pushes, and I
- don't like the cl module (it's big, it used to redefine `member' in
- emacs 18, and it raises bad memories of Common Lisp...)
-
- Hope it helps.
- Phil
-
- PS: Mike Scheidler's address <c23mts@kocrsv01.delcoelect.com> seems invalid
- (mail bounced with: 451 <c23mts@kocrsv01.delcoelect.com>... reply: read
- error). Are you here Mike ?
-
-
- --- lhilit.el.old Tue Jul 21 17:36:10 1992
- +++ lhilit.el Tue Jul 21 17:45:16 1992
- @@ -59,9 +59,4 @@
- ;;;
-
- -;;------------------------------------------
- -;; Load required Common Lisp extensions.
- -;;------------------------------------------
- -(require 'cl)
- -
- (defvar hilit::init-done nil
- "Flag signifying that hilit subsystem has been initialized.")
- @@ -111,5 +106,6 @@
- (interactive)
- (if hilit::mode-list
- - (let ((modes hilit::mode-list))
- + (let ((modes hilit::mode-list)
- + m p patterns mode start)
- (while (setq m (car modes))
- (setq mode (car m))
- @@ -226,6 +222,8 @@
- ;; Install read/write hooks.
- ;;------------------------------------------
- - (push 'hilit::hilit-after-find find-file-hooks)
- - (push 'hilit::unhilit-before-save write-file-hooks)
- + (setq find-file-hooks
- + (cons 'hilit::hilit-after-find find-file-hooks))
- + (setq write-file-hooks
- + (cons 'hilit::unhilit-before-save write-file-hooks))
-
- ;;------------------------------------------
-