Mercurial > hg > xemacs-beta
changeset 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 | 9a0eeef9a5ac |
children | 4762918e17fb |
files | lisp/ChangeLog lisp/help.el |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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. + 2005-10-09 Adrian Aichner <adrian@xemacs.org> * finder.el (finder-find-library): Return filename actually
--- 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."