From: ueno Date: Tue, 27 May 2008 06:48:22 +0000 (+0000) Subject: (riece-menu-insinuate): Check if custom-reevaluate-setting is available. X-Git-Tag: riece-5_0_0~21 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e6d2b6db02a2ac6cc70cb3030d5fc9a786deaf3d;p=elisp%2Friece.git (riece-menu-insinuate): Check if custom-reevaluate-setting is available. --- diff --git a/lisp/riece-menu.el b/lisp/riece-menu.el index 0763d55..ee47bd1 100644 --- a/lisp/riece-menu.el +++ b/lisp/riece-menu.el @@ -129,7 +129,8 @@ '(riece-mcat))) (defun riece-menu-insinuate () - (custom-reevaluate-setting 'riece-menu-items) + (if (fboundp 'custom-reevaluate-setting) + (custom-reevaluate-setting 'riece-menu-items)) (if riece-command-buffer (with-current-buffer riece-command-buffer (riece-menu-command-mode-hook)))