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

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

Re: Backup Blacklist


From: Juanma Barranquero
Subject: Re: Backup Blacklist
Date: Tue, 2 Jan 2007 14:01:51 +0100

On 1/2/07, Matthew Flaschen <matthew.flaschen@gatech.edu> wrote:

Thanks!  I mostly understand the script, but how could I make
my-exclude-from-backup interactive?

Use this additional function:

(defun my-exclude-file-from-backup (&optional file)
  (interactive (list (read-file-name "File to exclude: " nil nil t
buffer-file-name)))
  (my-exclude-from-backup (expand-file-name file)))

It should default to the buffer's visited file.

                   /L/e/k/t/u




reply via email to

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