From: ueno Date: Tue, 27 May 2008 07:01:15 +0000 (+0000) Subject: [XEmacs] Don't translate "Open URL...". X-Git-Tag: riece-5_0_0~19 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4856341a267b7fb374f873c3cd7050f1bddaf347;p=elisp%2Friece.git [XEmacs] Don't translate "Open URL...". --- diff --git a/lisp/riece-url.el b/lisp/riece-url.el index 34a9aca..ec0ffe0 100644 --- a/lisp/riece-url.el +++ b/lisp/riece-url.el @@ -125,7 +125,10 @@ This maps a string \"Bug#12345\" to a URL (defun riece-url-command-mode-hook () (easy-menu-add-item nil (list (car riece-menu-items)) - (list (riece-mcat "Open URL...") :filter 'riece-url-create-menu))) + (list (if (featurep 'xemacs) + "Open URL..." + (riece-mcat "Open URL...")) + :filter 'riece-url-create-menu))) (defun riece-url-insinuate () (add-hook 'riece-after-insert-functions 'riece-url-scan-region) @@ -137,7 +140,9 @@ This maps a string \"Bug#12345\" to a URL (defun riece-url-uninstall () (easy-menu-remove-item nil (list (car riece-menu-items)) - (riece-mcat "Open URL...")) + (if (featurep 'xemacs) + "Open URL..." + (riece-mcat "Open URL..."))) (remove-hook 'riece-after-insert-functions 'riece-url-scan-region) (remove-hook 'riece-command-mode-hook 'riece-url-command-mode-hook))