From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: tumme directory Date: Fri, 10 Feb 2006 11:53:13 -0500 Message-ID: <87zmkzf99z.fsf-monnier+emacs@gnu.org> References: <87r76t8afw.fsf@stupidchicken.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139618467 5645 80.91.229.6 (11 Feb 2006 00:41:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2006 00:41:07 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 11 01:40:40 2006 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1F7cF9-0002ae-00 for ; Fri, 10 Feb 2006 18:39:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7cEk-0005T7-41 for ged-emacs-devel@m.gmane.org; Fri, 10 Feb 2006 12:39:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7bWZ-00079r-Nq for emacs-devel@gnu.org; Fri, 10 Feb 2006 11:53:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7bWW-00078j-PL for emacs-devel@gnu.org; Fri, 10 Feb 2006 11:53:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7bWW-00078R-1n for emacs-devel@gnu.org; Fri, 10 Feb 2006 11:53:32 -0500 Original-Received: from [209.226.175.97] (helo=tomts40-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F7ba2-0003vF-GB; Fri, 10 Feb 2006 11:57:10 -0500 Original-Received: from alfajor ([67.68.216.244]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060210165313.NUHL21861.tomts40-srv.bellnexxia.net@alfajor>; Fri, 10 Feb 2006 11:53:13 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 4B37DD7370; Fri, 10 Feb 2006 11:53:13 -0500 (EST) Original-To: Mattis In-Reply-To: (Mattis's message of "Fri, 10 Feb 2006 00:26:09 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50348 Archived-At: > (defcustom tumme-dir "~/.tumme/" > "*Directory where thumbnail images for are stored." > :type 'string > :group 'tumme) A grep for ".emacs.d" in the Lisp sources will probably give you some answer. What I'd do is: (defcustom tumme-dir (cond ((file-directory-p "~/.tumme/") "~/.tumme/") ((file-directory-p "~/.emacs.d/") "~/.emacs.d/tumme/") (t "~/.tumme/")) "Directory where thumbnail images for are stored." :type 'string :group 'tumme) -- Stefan