I fixed the issue by setting the value of backup-directory-alist as shown below:

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

Thanks for your support,
mwnn

On 10/24/2010 09:17 AM, Noorul Islam wrote:
On Sun, Oct 24, 2010 at 8:54 AM, mwnn<mwnn...@gmail.com>  wrote:
The call trace is as shown below:

Debugger entered--Lisp error: (wrong-type-argument stringp (".~"))
  expand-file-name((".~") "/home/mwnn/.emacs.d/")
  make-backup-file-name-1("/home/mwnn/.emacs.d/org-clock-save.el")
  find-backup-file-name("/home/mwnn/.emacs.d/org-clock-save.el")
  backup-buffer()
  basic-save-buffer-2()
  basic-save-buffer-1()
  basic-save-buffer()
  save-buffer()
  org-clock-save()
  run-hooks(kill-emacs-hook)
  kill-emacs()
  save-buffers-kill-emacs(nil)
  save-buffers-kill-terminal(nil)
  call-interactively(save-buffers-kill-terminal nil nil)


What is the value of backup-directory-alist?

C-h v backup-directory-alist

I think it should be an alist.

Thanks and Regards
Noorul



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to