From: ueno Date: Tue, 27 May 2008 06:59:00 +0000 (+0000) Subject: [XEmacs] add comment about why not reevaluate riece-menu-items. X-Git-Tag: riece-5_0_0~20 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f348cac7b730542f6a5b9a261d256911238258e;p=elisp%2Friece.git [XEmacs] add comment about why not reevaluate riece-menu-items. --- diff --git a/lisp/riece-menu.el b/lisp/riece-menu.el index ee47bd1..fcf0a4f 100644 --- a/lisp/riece-menu.el +++ b/lisp/riece-menu.el @@ -130,7 +130,12 @@ (defun riece-menu-insinuate () (if (fboundp 'custom-reevaluate-setting) - (custom-reevaluate-setting 'riece-menu-items)) + (custom-reevaluate-setting 'riece-menu-items) + ;; We could emulate custom-reevaluate-setting by manually eval the + ;; 'standard-value property of 'riece-menu-items. In that case + ;; (i.e. XEmacs 21.4), however, there is no way to render + ;; non-ASCII labels in the menu, so give up here. + ) (if riece-command-buffer (with-current-buffer riece-command-buffer (riece-menu-command-mode-hook)))