Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
2985:9a0eeef9a5ac | 2986:66ad30774567 |
---|---|
836 (error "No Installation information available."))) | 836 (error "No Installation information available."))) |
837 | 837 |
838 (defun view-emacs-news () | 838 (defun view-emacs-news () |
839 "Display info on recent changes to XEmacs." | 839 "Display info on recent changes to XEmacs." |
840 (interactive) | 840 (interactive) |
841 (Help-find-file (locate-data-file "NEWS"))) | 841 (Help-find-file (expand-file-name "NEWS" data-directory))) |
842 | 842 |
843 (defun xemacs-www-page () | 843 (defun xemacs-www-page () |
844 "Go to the XEmacs World Wide Web page." | 844 "Go to the XEmacs World Wide Web page." |
845 (interactive) | 845 (interactive) |
846 (if-fboundp 'browse-url | 846 (if-fboundp 'browse-url |