|
From: | Kevin Rodgers |
Subject: | Re: run/load a lisp script before user init file |
Date: | Tue, 08 Oct 2013 00:16:42 -0600 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 |
On 10/7/13 1:00 PM, Eli Zaretskii wrote:
Date: Mon, 07 Oct 2013 20:42:43 +0200 From: Jarek Czekalski<address@hidden> W dniu 10/07/2013 06:43 PM, Eli Zaretskii pisze:Site init file looks like what you want. Read about it in the "Init File" node of the Emacs User Manual.I read the startup procedure. However it still does not seem a clean approch. You suggest that I should add a line (load "emacspeak-loder") to the site-start, right? But when someone removes emacspeak from system, emacs will stop to load correctly. Not nice.If that's the problem, you can detect the presence of emacspeak first, or wrap the load in ignore-errors or some such. IOW, this is a problem that is much easier to solve in any number of ways.
E.g. (when (not (load "emacspeak-loader" t)) (display-warning 'initialization "Emacspeak not loaded")) -- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |