Anonymous committed 3e3a0c4

"m37j77wjq6.fsf_-nf--_xmat_-m:nwsgrp_---" on xemacs-beta.

Comments (0)

Files changed (2)

+2006-03-07  Nelson Ferreira  <>
+	* fast-lock.el (fast-lock-after-fontify-buffer): Check existence
+	of fast-lock cache file before trying to access it.
 2006-02-22  Norbert Koch  <>
 	* Makefile (VERSION): XEmacs package 2.33 released.
 (defun fast-lock-after-fontify-buffer ()
   ;; Delete the Font Lock cache file used to restore fontification, if any.
-  (when fast-lock-cache-filename
+  (when (and fast-lock-cache-filename (file-exists-p fast-lock-cache-filename))
     (if (file-writable-p fast-lock-cache-filename)
 	(delete-file fast-lock-cache-filename)
       (message "File %s font lock cache cannot be deleted" (buffer-name))))