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

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

using string variable with file name


From: saneman
Subject: using string variable with file name
Date: Sat, 23 Feb 2008 12:53:27 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

In my .emacs file I have made:

;; Directories
(setq mylisp "~/work/mylisp/")

;; Line numbers
(load-file mylisp cons "setnu.el")
(global-set-key "\C-cl" 'setnu-mode)

But this gives an error. How do I "cons" the variable mylisp with a filename?


reply via email to

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