diff lisp/ChangeLog @ 5203:733f067a73ce

Check that MODENAME-mode is fboundp before calling it, files.el 2010-04-15 Aidan Kehoe <kehoea@parhasard.net> * files.el (hack-local-variables-prop-line) (hack-one-local-variable): Only attempt to call MODENAME-mode on encountering a -*-MODENAME-*- line if the corresponding symbol has a function binding, avoiding an error if, for example, opening a log file with XLFDs and wild cards. Thanks for the bug report, Henrique Martins!
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 15 Apr 2010 17:01:08 +0100
parents fa5d6416887f
children 39d74978fd32
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Apr 12 01:41:38 2010 -0500
+++ b/lisp/ChangeLog	Thu Apr 15 17:01:08 2010 +0100
@@ -1,3 +1,13 @@
+2010-04-15  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* files.el (hack-local-variables-prop-line)
+	(hack-one-local-variable):
+	Only attempt to call MODENAME-mode on encountering a
+	-*-MODENAME-*- line if the corresponding symbol has a function
+	binding, avoiding an error if, for example, opening a log file
+	with XLFDs and wild cards. Thanks for the bug report, Henrique
+	Martins!
+
 2010-04-09  Didier Verna  <didier@xemacs.org>
 
 	* hyper-apropos.el (hyper-apropos-get-doc): Use [not available]