emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.50; wrong-type-argument stringp cperl-mode-abbrev-table upon re


From: Stefan Monnier
Subject: Re: 23.0.50; wrong-type-argument stringp cperl-mode-abbrev-table upon reading abbrevs
Date: Sun, 04 Nov 2007 23:29:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> I simply started Emacs with "emacs -nw".

> Debugger entered--Lisp error: (wrong-type-argument stringp 
> cperl-mode-abbrev-table)

I believe the problem was in the .abbrev_defs file because of a bug in
abbrev--write.  More specifically, the patch below should fix it.


        Stefan


Index: abbrev.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/abbrev.el,v
retrieving revision 1.60
diff -u -u -b -r1.60 abbrev.el
--- abbrev.el   4 Nov 2007 22:58:50 -0000       1.60
+++ abbrev.el   5 Nov 2007 04:28:02 -0000
@@ -825,7 +825,7 @@
 Presumes that `standard-output' points to `current-buffer'."
   (unless (or (null (symbol-value sym)) (abbrev-get sym :system))
     (insert "    (")
-    (prin1 name)
+    (prin1 sym)
     (insert " ")
     (prin1 (symbol-value sym))
     (insert " ")





reply via email to

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