[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong type argument: listp, w
From: |
Pascal Bourguignon |
Subject: |
Re: Wrong type argument: listp, w |
Date: |
05 Dec 2004 06:32:09 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
kjetei@online.no (Kjetil Eide) writes:
> Recently I have been getting this errror when attempting to open files in
> emacs
> (version 21.3.2):
>
> Wrong type argument: listp, w
^^^^^^^^^^^^^^^^^^^ ^^^^^ ^
What's wrong. | |
| +--- what has been got.
+-- what was expected.
> This happens when attempting to open "~/foo.txt" with C-x C-f.
> Here's the backtrace:
>
> assoc("/home/kjetilei/foo.txt" w)
^^^^^ The function that detected the problem.
> save-place-find-file-hook()
> run-hooks(find-file-hooks)
^^^^^^^^^^^^^^^ the variable where there's a buggy function.
> after-find-file(nil t)
> find-file-noselect-1(#<buffer foo.txt> "~/foo.txt" nil nil "~/foo.txt" (67933
> 7
> 74))
> find-file-noselect("~/foo.txt" nil nil 1)
> find-file("~/foo.txt" 1)
^^^^^^^^^ The initial command.
> call-interactively(find-file)
>
> Does anyone have any idea what could be wrong?
Check the value of find-file-hooks.
Perhaps there's one too many ' before a w.
--
__Pascal Bourguignon__ http://www.informatimago.com/
The world will now reboot; don't bother saving your artefacts.