help-gnu-emacs
[Top][All Lists]
Advanced

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

Variable in a dotted list


From: Peter Dyballa
Subject: Variable in a dotted list
Date: Sat, 13 Mar 2010 15:59:45 +0100

Hello!

How can I create a dotted list with the value of a variable as cdr? The documentation is

 -- Variable: backup-directory-alist
     This variable's value is an alist of filename patterns and backup
     directory names.  Each element looks like
          (REGEXP . DIRECTORY)

and the value of DIRECTORY is a concat-enation of user-emacs-directory and a "name." It works to use

        (setq backup-directory-alist   '(("." . "~/.emacs.d/Name")))

but it's a bit too inflexible IMO...

--
Greetings

  Pete
Progress (n.): Process through which USENET evolved from smart people in front of dumb terminals to dumb people in front of smart terminals.





reply via email to

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