From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: finding emacs version Date: Tue, 22 May 2007 06:37:57 +0200 Organization: GNU's Not UNIX! Message-ID: <200705220437.l4M4bv0X012291@localhost.localdomain> References: Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1179809128 20008 80.91.229.12 (22 May 2007 04:45:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 May 2007 04:45:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Rustom Mody" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 22 06:45:26 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HqMFP-00070K-IP for geh-help-gnu-emacs@m.gmane.org; Tue, 22 May 2007 06:45:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqMFO-00089n-Qt for geh-help-gnu-emacs@m.gmane.org; Tue, 22 May 2007 00:45:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HqMAA-0005Q8-K9 for help-gnu-emacs@gnu.org; Tue, 22 May 2007 00:39:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HqMA7-0005O4-7T for help-gnu-emacs@gnu.org; Tue, 22 May 2007 00:39:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqMA7-0005Ny-2o for help-gnu-emacs@gnu.org; Tue, 22 May 2007 00:39:55 -0400 Original-Received: from master.uucpssh.org ([193.218.105.66]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HqMA6-0002JJ-Eo for help-gnu-emacs@gnu.org; Tue, 22 May 2007 00:39:54 -0400 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id 01CB555E6E; Tue, 22 May 2007 06:38:49 +0200 (CEST) Original-Received: from localhost.localdomain (IDENT:1001@localhost [127.0.0.1]) by localhost.localdomain (8.13.8/8.13.8) with ESMTP id l4M4bws1012294; Tue, 22 May 2007 06:37:58 +0200 Original-Received: (from zedek@localhost) by localhost.localdomain (8.13.8/8.13.8/Submit) id l4M4bv0X012291; Tue, 22 May 2007 06:37:57 +0200 In-reply-to: (rustompmody@gmail.com) User-Agent: Rmail in GNU Emacs 23.0.51.1 on GNU/Linux Jabber-ID: zedek@im.lolica.org X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.291, required 4.6, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.11, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-uucpssh-From: xma@gnu.org X-detected-kernel: Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44242 Archived-At: 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