all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there a way to abort loading .el file on condition?
@ 2019-04-29  5:49 Jean Louis
  2019-04-30 16:25 ` Tomas Nordin
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Louis @ 2019-04-29  5:49 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I would like to abort loading the .el file, the
~/.emacs file on the condition, in particular, I
have two versions of GNU Emacs, the standard one
25.3.1 which I would not like to read the .emacs
file and the one which I use for work, which
should read the ~/.emacs file.

Is there a way that a condition is inserted on top
of the ~/.emacs file so that based on the version
information the file loading gets aborted?

Such conditional statement should not enclose all
the statements in the file as for example
customization on the end would break or similar.

Jean



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-12  4:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-29  5:49 Is there a way to abort loading .el file on condition? Jean Louis
2019-04-30 16:25 ` Tomas Nordin
2019-04-30 16:51   ` Noam Postavsky
2019-05-03  2:07   ` Emanuel Berg
2019-05-12  4:06   ` Jean Louis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.