[Top][All Lists]

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

Re: init-dir unification

From: Juri Linkov
Subject: Re: init-dir unification
Date: Sat, 05 Nov 2005 09:55:05 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

> What do people think?  Is it worth making such a change?  Is there a
> better way to do things?
> ! (defvar gamegrid-user-score-file-directory "~/.emacs.d/games"
>     "A directory for game scores which can't be shared.
>   If Emacs was built without support for shared game scores, then this
>   directory will be used.")
> --- 66,72 ----
>   (defvar gamegrid-score-file-length 50
>     "Number of high scores to keep")
> ! (defvar gamegrid-user-score-file-directory "games"

It is misleading for users when such variable contains a name relative
to some other directory name instead of the absolute directory name.
I think a better way to do this is:

    (defvar gamegrid-user-score-file-directory (init-directory "games")

Juri Linkov

reply via email to

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