w3m-el (1.4.4-11) 010_w3mhack.patch

Summary

 w3mhack.el |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

Description: Patch for w3mhack.el in debian/1.4.4-1
Author: Fumitoshi UKAI <ukai@debian.or.jp>

--- w3m-el-1.4.4.orig/w3mhack.el	2005-03-18 19:36:43.000000000 +0900
+++ w3m-el-1.4.4/w3mhack.el	2007-09-19 23:30:04.000000000 +0900
@@ -322,6 +322,10 @@
  use the `--with-addpath=' configure option with that path name (or
  colon separated those path names) and run configure again."))))
 
+(let ((old-mew-path "/usr/share/xemacs21/packages/lisp/mew/"))
+  (if (member old-mew-path load-path)
+      (setq load-path (delete old-mew-path load-path))))
+
 (defconst shimbun-module-directory "shimbun")
 
 (defconst w3mhack-colon-keywords-file "w3m-kwds.el")
@@ -956,8 +960,7 @@
 (defun w3mhack-check-colon-keywords-file ()
   (let* ((kwds-file (expand-file-name w3mhack-colon-keywords-file))
 	 (dir (file-name-directory kwds-file)))
-    (when (and (file-writable-p dir)
-	       (file-exists-p (expand-file-name "Makefile.in" dir)))
+    (when (file-writable-p dir)
       (condition-case nil
 	  :symbol-for-testing-whether-colon-keyword-is-available-or-not
 	(when (file-exists-p kwds-file)