help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to stop from loading a script?


From: Shiyao Ma
Subject: How to stop from loading a script?
Date: Wed, 21 Oct 2015 04:35:26 -0700 (PDT)
User-agent: G2/1.0

Hi,

Say the caller will *always* load a script.

But inside the script, I'd like to *directly* return to the caller if some 
conditions are met.

A workaround is to wrap all the stuff in side a when/unless clause.

e.g.,


(unless (COND)

do-my-stuff)


However, the do-my-stuff is too lengthy and I am in search of the following 
form:


(when (COND)

EARLY_RETURN_TO_THE_LOADER)


(do-my-stuff).



So my question is, what should I fill in the EARLY_RETURN_TO_THE_LOADER slot?

Regards.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]