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)

Regards,
mwnn

On 10/24/2010 08:51 AM, Noorul Islam wrote:
On Saturday, October 23, 2010, mwnn <mwnn...@gmail.com> wrote:
Hi all,
I added the following lines to my .emacs file to enable task clocking across emacs sessions:

   (setq org-clock-persist 'history)
   (org-clock-persistence-insinuate)

Now i am unable to quit Emacs with C-x C-c command. I get the following error message:

   Saving file /home/mwnn/.emacs.d/org-clock-save.el...
   make-backup-file-name-1: Wrong type argument: stringp, (".~")


Can you get us a traceback of this?

(setq debug-on-error t)

and then try to quit emacs. It should show some traceback information.
Post it here.

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