Use macro from w3. For details see ChangeLog.
[gnus] / lisp / dgnushack.el
index 5579432..2005ee2 100644 (file)
 
 (require 'cl)
 
-(push "/usr/share/emacs/site-lisp" load-path)
+(push (or (getenv "lispdir") 
+         "/usr/share/emacs/site-lisp")
+      load-path)
+(push (or (getenv "W3DIR") (expand-file-name "../../w3/lisp/" srcdir)) 
+      load-path)
 
 (unless (featurep 'xemacs)
   (define-compiler-macro last (&whole form x &optional n)