From: Xavier Maillard <xma@gnu.org>
To: "Rustom Mody" <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: finding emacs version
Date: Tue, 22 May 2007 06:37:57 +0200 [thread overview]
Message-ID: <200705220437.l4M4bv0X012291@localhost.localdomain> (raw)
In-Reply-To: <f46c52560705140932r4e03eddale163280e85e86a46@mail.gmail.com> (rustompmody@gmail.com)
Hi,
This is what I am currently using to load a custom file according
to my `xm-emacs-name' variable which is set to emacs-23 for this
session.
(when (featurep 'custom)
(setq custom-file
(concat
(or (getenv "XDG_CONFIG_HOME") "~") "/emacs/conf/"
xm-emacs-name
"-custom.el")
)
;; load it, if it's there.
(load custom-file t))
Hope that'll help.
Xavier
--
http://www.gnu.org
http://www.april.org
http://www.lolica.org
next prev parent reply other threads:[~2007-05-22 4:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-14 16:32 finding emacs version Rustom Mody
2007-05-14 16:39 ` Drew Adams
2007-05-14 16:41 ` Lennart Borgman (gmail)
2007-05-22 4:37 ` Xavier Maillard [this message]
[not found] <mailman.654.1179160858.32220.help-gnu-emacs@gnu.org>
2007-05-14 16:55 ` Tassilo Horn
2007-05-14 17:03 ` Harald Hanche-Olsen
2007-06-09 22:11 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200705220437.l4M4bv0X012291@localhost.localdomain \
--to=xma@gnu.org \
--cc=help-gnu-emacs@gnu.org \
--cc=rustompmody@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.