summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-06 10:21:24 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-06 12:52:42 +0200
commit2ac3e3eda5ff92b2a2c3a87755fceabf6aa1abed (patch)
tree66163bd6fb907841fe39d7e5b8511776efdfe564 /lisp
parent543b5248db5f11ffee71523bdd6a41b8d03c03ab (diff)
downloademacs-2ac3e3eda5ff92b2a2c3a87755fceabf6aa1abed.tar.gz
emacs-2ac3e3eda5ff92b2a2c3a87755fceabf6aa1abed.tar.bz2
emacs-2ac3e3eda5ff92b2a2c3a87755fceabf6aa1abed.zip
Drop support for XEmacs package func-menu from idlwave
* lisp/progmodes/idlwave.el (idlwave-function-menu): Make into obsolete alias for imenu. Update callers. * doc/misc/idlwave.texi (Introduction, Motion Commands): Remove any mention of func-menu.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/idlwave.el15
1 files changed, 3 insertions, 12 deletions
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index b3dc3cac763..b290854e1b9 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -8811,7 +8811,7 @@ to reset the variable `idlwave-true-path-alist' to nil."
;; ----------------------------------------------------------------------------
;;
-;; Additions for use with imenu.el and func-menu.el
+;; Additions for use with imenu.el
;; (pop-up a list of IDL units in the current file).
;;
@@ -8835,16 +8835,7 @@ Assumes that point is at the beginning of the unit as found by
"[a-zA-Z_][a-zA-Z0-9$_]+\\(::[a-zA-Z_][a-zA-Z0-9$_]+\\)?")
(buffer-substring-no-properties begin (point))))
-(defalias 'idlwave-function-menu
- (condition-case nil
- (progn
- (require 'func-menu)
- 'function-menu)
- (error (condition-case nil
- (progn
- (require 'imenu)
- 'imenu)
- (error nil)))))
+(define-obsolete-function-alias 'idlwave-function-menu #'imenu "29.1")
(defun idlwave-edit-in-idlde ()
"Edit the current file in IDL Development environment."
@@ -8864,7 +8855,7 @@ Assumes that point is at the beginning of the unit as found by
;; Menus - using easymenu.el
(defvar idlwave-mode-menu-def
'("IDLWAVE"
- ["PRO/FUNC menu" idlwave-function-menu t]
+ ["PRO/FUNC menu" imenu t]
("Motion"
["Subprogram Start" idlwave-beginning-of-subprogram t]
["Subprogram End" idlwave-end-of-subprogram t]