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

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

RE: .emacs help


From: Rehm, Keith
Subject: RE: .emacs help
Date: Wed, 11 Sep 2002 11:19:44 -0500

Hi,

I am using GNU Emacs and use backup-dir seemingly.

I have:

(require 'backup-dir)
(if (boundp 'bkup-backup-directory-info)
    (setq bkup-backup-directory-info '((t "c:/documents and
settings/keithr/desktop/emacsBackups/"
                                          ok-create
                                          full-path))))


in my .emacs and am using the backup-dir.el I have attached.

(?)

Keith



-----Original Message-----
From: Miles Bader [mailto:address@hidden
Sent: Tuesday, September 10, 2002 8:26 PM
To: address@hidden
Cc: address@hidden
Subject: Re: .emacs help


address@hidden writes:
> > This is the error I get:
> 
> > File error: "Cannot open load file", "backup-dir"
> 
> > .emacs from xemacs customization:
> > (custom-set-variables
> >  '(bkup-backup-directory-info (quote (("." "~emiller/emacs_bkup"
ok-create))) nil (backup-dir)))
> 
> Ugh, I think the parens are unbalanced.  Odd since this came
> right out of xemacs!

No, the parens seem fine.  The problem is that the `(backup-dir)' part
of the customization entry does what you might expect:  it tells emacs
that the `backup-dir' feature is required before defining that variable,
and emacs will try to load `backup-dir.el' to define it.

Since `backup-dir.el' is an xemacs-only thing, it of course fails.

This is for bug-gnu-emacs:

It would be nice if emacs just ignored customization entries that result
in an error (I often ran into the same problem when trying to use older
versions of emacs with my emacs21 .emacs file).

-Miles
-- 
I'd rather be consing.


_______________________________________________
Help-gnu-emacs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

Attachment: backup-dir.el
Description: Binary data


reply via email to

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