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

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

Re: Wrong type argument:listp, \.\.\.


From: Rob Walker
Subject: Re: Wrong type argument:listp, \.\.\.
Date: 27 Apr 2005 09:11:40 -0700
User-agent: G2/0.2

Try adding this to your .emacs:

(defadvice save-place-alist-to-file
  (around save-place-alist-to-file-force-print-length activate)
  (let ((print-level nil)
        (print-length nil))
    ad-do-it))

Whats happening is that something is setting print-level and
print-length and not clearing them when it's finished (I usually find
it's the elisp debugger).  When save-place writes it's data, it gets
printed out wrongly (i.e. not valid elisp).  This hack forces
save-place to use the correct values of print-level & print-length.

Rob



reply via email to

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