For a long time I have been having a problem with closing some
buffers. In order to be able to close them I had to manually turn off
font-lock mode.
One such buffer has been the Info buffer.
Here is the back trace:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
expand-file-name(nil)
fast-lock-cache-name("~/.sxemacs/flc")
fast-lock-save-cache()
fast-lock-save-cache-before-kill-buffer()
kill-buffer("*info*")
call-interactively(kill-buffer)
I was able to fix it with this small patch:
$ cvs diff -ub fast-lock.el
Index: fast-lock.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/edit-utils/fast-lock.el,v
retrieving revision 1.4
diff -u -u -b -r1.4 fast-lock.el
--- fast-lock.el 2006/03/07 07:10:32 1.4
+++ fast-lock.el 2006/11/13 01:06:08
@@ -526,7 +526,8 @@
See `fast-lock-cache-directory'."
(if (string-equal directory ".")
(concat buffer-file-name ".flc")
- (let* ((bufile (expand-file-name buffer-file-truename))
+ (let* ((bufile (expand-file-name (or buffer-file-truename
+ buffer-file-name)))
(chars-alist
(cond
((eq system-type 'emx)
--
Nelson Ferreira
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches