[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading Double-clicked files
- To: firstname.lastname@example.org, email@example.com, Ranson <ranson@LANNION.cnet.fr>
- Subject: Re: Loading Double-clicked files
- From: firstname.lastname@example.org (Bill St. Clair)
- Date: Wed, 9 Dec 1992 09:35:20 -0600
At 8:05 12/9/92 +0000, Ranson wrote:
>Rather than risk incompatibilities, you could override the documented generic
>function OPEN-DOCUMENT-HANDLER (MCL Reference, p 422).
There's even an easier way to do this if you're running with Patch 1
installed. Patch 1 seperates the "open the file" part of
OPEN-DOCUMENTS-HANDLER from the "handle the AppleEvent" part.
The following will change its behavior to always load:
(defmethod ccl::open-application-document ((a application) path &optional
(declare (ignore startup))
(eval-enqueue `(load ,path)))