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.
This commit is contained in:
Stefan Kangas 2022-08-06 10:21:24 +02:00
parent 543b5248db
commit 2ac3e3eda5
2 changed files with 6 additions and 16 deletions

View file

@ -217,7 +217,7 @@ Integrity checks and auto-termination of logical blocks.
@item
Routine name space conflict search with likelihood-of-use ranking.
@item
Support for @file{imenu} (Emacs) and @file{func-menu} (XEmacs).
Support for @file{imenu}.
@item
Documentation support.
@item
@ -2298,12 +2298,11 @@ Regexp matching the start of a document library header.
@cindex Motion commands
@cindex Program structure, moving through
@cindex Code structure, moving through
@cindex @file{Func-menu}, XEmacs package
@cindex @file{Imenu}, Emacs package
@cindex @file{Imenu}
@cindex Function definitions, jumping to
@cindex Procedure definitions, jumping to
IDLWAVE supports both @file{Imenu} and @file{Func-menu}, two packages
IDLWAVE supports @file{Imenu}, a package
which make it easy to jump to the definitions of functions and
procedures in the current file with a pop-up selection. To bind
@file{Imenu} to a mouse-press, use in your @file{.emacs}:

View file

@ -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]