(riece-menu-insinuate): Check if custom-reevaluate-setting is available.
authorueno <ueno>
Tue, 27 May 2008 06:48:22 +0000 (06:48 +0000)
committerueno <ueno>
Tue, 27 May 2008 06:48:22 +0000 (06:48 +0000)
lisp/riece-menu.el

index 0763d55..ee47bd1 100644 (file)
       '(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)))