aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2022-08-06 10:21:24 +0200
committerStefan Kangas2022-08-06 12:52:42 +0200
commit2ac3e3eda5ff92b2a2c3a87755fceabf6aa1abed (patch)
tree66163bd6fb907841fe39d7e5b8511776efdfe564
parent543b5248db5f11ffee71523bdd6a41b8d03c03ab (diff)
downloademacs-2ac3e3eda5ff92b2a2c3a87755fceabf6aa1abed.tar.gz
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.
-rw-r--r--doc/misc/idlwave.texi7
-rw-r--r--lisp/progmodes/idlwave.el15
2 files changed, 6 insertions, 16 deletions
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi
index 26a6e6c7a33..a1e6535bd8b 100644
--- a/doc/misc/idlwave.texi
+++ b/doc/misc/idlwave.texi
@@ -217,7 +217,7 @@ Integrity checks and auto-termination of logical blocks.
217@item 217@item
218Routine name space conflict search with likelihood-of-use ranking. 218Routine name space conflict search with likelihood-of-use ranking.
219@item 219@item
220Support for @file{imenu} (Emacs) and @file{func-menu} (XEmacs). 220Support for @file{imenu}.
221@item 221@item
222Documentation support. 222Documentation support.
223@item 223@item
@@ -2298,12 +2298,11 @@ Regexp matching the start of a document library header.
2298@cindex Motion commands 2298@cindex Motion commands
2299@cindex Program structure, moving through 2299@cindex Program structure, moving through
2300@cindex Code structure, moving through 2300@cindex Code structure, moving through
2301@cindex @file{Func-menu}, XEmacs package 2301@cindex @file{Imenu}
2302@cindex @file{Imenu}, Emacs package
2303@cindex Function definitions, jumping to 2302@cindex Function definitions, jumping to
2304@cindex Procedure definitions, jumping to 2303@cindex Procedure definitions, jumping to
2305 2304
2306IDLWAVE supports both @file{Imenu} and @file{Func-menu}, two packages 2305IDLWAVE supports @file{Imenu}, a package
2307which make it easy to jump to the definitions of functions and 2306which make it easy to jump to the definitions of functions and
2308procedures in the current file with a pop-up selection. To bind 2307procedures in the current file with a pop-up selection. To bind
2309@file{Imenu} to a mouse-press, use in your @file{.emacs}: 2308@file{Imenu} to a mouse-press, use in your @file{.emacs}:
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."
8811 8811
8812;; ---------------------------------------------------------------------------- 8812;; ----------------------------------------------------------------------------
8813;; 8813;;
8814;; Additions for use with imenu.el and func-menu.el 8814;; Additions for use with imenu.el
8815;; (pop-up a list of IDL units in the current file). 8815;; (pop-up a list of IDL units in the current file).
8816;; 8816;;
8817 8817
@@ -8835,16 +8835,7 @@ Assumes that point is at the beginning of the unit as found by
8835 "[a-zA-Z_][a-zA-Z0-9$_]+\\(::[a-zA-Z_][a-zA-Z0-9$_]+\\)?") 8835 "[a-zA-Z_][a-zA-Z0-9$_]+\\(::[a-zA-Z_][a-zA-Z0-9$_]+\\)?")
8836 (buffer-substring-no-properties begin (point)))) 8836 (buffer-substring-no-properties begin (point))))
8837 8837
8838(defalias 'idlwave-function-menu 8838(define-obsolete-function-alias 'idlwave-function-menu #'imenu "29.1")
8839 (condition-case nil
8840 (progn
8841 (require 'func-menu)
8842 'function-menu)
8843 (error (condition-case nil
8844 (progn
8845 (require 'imenu)
8846 'imenu)
8847 (error nil)))))
8848 8839
8849(defun idlwave-edit-in-idlde () 8840(defun idlwave-edit-in-idlde ()
8850 "Edit the current file in IDL Development environment." 8841 "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
8864;; Menus - using easymenu.el 8855;; Menus - using easymenu.el
8865(defvar idlwave-mode-menu-def 8856(defvar idlwave-mode-menu-def
8866 '("IDLWAVE" 8857 '("IDLWAVE"
8867 ["PRO/FUNC menu" idlwave-function-menu t] 8858 ["PRO/FUNC menu" imenu t]
8868 ("Motion" 8859 ("Motion"
8869 ["Subprogram Start" idlwave-beginning-of-subprogram t] 8860 ["Subprogram Start" idlwave-beginning-of-subprogram t]
8870 ["Subprogram End" idlwave-end-of-subprogram t] 8861 ["Subprogram End" idlwave-end-of-subprogram t]