diff lisp/help.el @ 2986:66ad30774567

[xemacs-hg @ 2005-10-10 02:45:31 by youngs] 2005-10-10 Steve Youngs <steve@sxemacs.org> * help.el (view-emacs-news): Use `expand-file-name' instead of `locate-data-file' as the latter will find any "NEWS" files that might exist in packages _before_ the one in core.
author youngs
date Mon, 10 Oct 2005 02:45:32 +0000
parents b7b90f750a78
children 3fa430e1aa35
line wrap: on
line diff
--- a/lisp/help.el	Sun Oct 09 21:51:12 2005 +0000
+++ b/lisp/help.el	Mon Oct 10 02:45:32 2005 +0000
@@ -838,7 +838,7 @@
 (defun view-emacs-news ()
   "Display info on recent changes to XEmacs."
   (interactive)
-  (Help-find-file (locate-data-file "NEWS")))
+  (Help-find-file (expand-file-name "NEWS" data-directory)))
 
 (defun xemacs-www-page ()
   "Go to the XEmacs World Wide Web page."