# HG changeset patch # User youngs # Date 1128912332 0 # Node ID 66ad307745678cfa6a9746c2429f9eafce4718a7 # Parent 9a0eeef9a5acb7cda76ecfd7c6820b5ffad9fb02 [xemacs-hg @ 2005-10-10 02:45:31 by youngs] 2005-10-10 Steve Youngs * 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. diff -r 9a0eeef9a5ac -r 66ad30774567 lisp/ChangeLog --- a/lisp/ChangeLog Sun Oct 09 21:51:12 2005 +0000 +++ b/lisp/ChangeLog Mon Oct 10 02:45:32 2005 +0000 @@ -1,3 +1,9 @@ +2005-10-10 Steve Youngs + + * 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. + 2005-10-09 Adrian Aichner * finder.el (finder-find-library): Return filename actually diff -r 9a0eeef9a5ac -r 66ad30774567 lisp/help.el --- 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."