2013-06-19 Glenn Morris <rgm@gnu.org>
+ * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
+ (speedbar-add-supported-extension): Declare.
+
* international/titdic-cnv.el (tit-process-header, miscdic-convert):
Don't include a date stamp in the header of the generated file;
it leads to needless differences between output files.
;; Here we hack func-menu.el in order to support this new mode.
;; The latest versions of func-menu.el already have this stuff in, so
;; we hack only if it is not already there.
-(when (fboundp 'eval-after-load)
+(when (featurep 'xemacs)
(eval-after-load "func-menu"
'(progn
(or (assq 'idlwave-mode fume-function-name-regexp-alist)
(with-current-buffer "*Help*"
(setq truncate-lines t)))
+(declare-function speedbar-add-supported-extension "speedbar" (extension))
+
;; Add .pro files to speedbar for support, if it's loaded
(eval-after-load "speedbar" '(speedbar-add-supported-extension ".pro"))