aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
authorF. Jason Park2023-01-19 21:07:27 -0800
committerF. Jason Park2023-04-08 14:23:51 -0700
commit2d876a4ca94d7c74339eb18ca98528d017cab2a8 (patch)
treecea0227030b11d1b79086864a5bb27367332bee0 /test/lisp
parent22104de5daa12e82bb6a246f05f4cd2927eb37a3 (diff)
downloademacs-2d876a4ca94d7c74339eb18ca98528d017cab2a8.tar.gz
emacs-2d876a4ca94d7c74339eb18ca98528d017cab2a8.zip
Convert ERC's Imenu integration into proper module
* lisp/erc/erc-goodies.el: Don't add Imenu hooks to `erc-mode-hook' at top level. Remove autoload for `erc-create-imenu-index' because it already exists in the `erc-imenu' library. (erc-imenu-setup): Move to the erc-imenu library. * lisp/erc/erc-imenu.el (erc-unfill-notice): Allow modifications to read-only text. Thanks to Yusef Aslam for reporting this bug. (erc-imenu-setup): Move here from goodies. (erc-imenu--create-index-function): New helper var to hold previous local value of `imenu-create-index-function'. Perhaps advice should be used instead, but a cursory search of the Emacs code base reveals no such usage. (erc-imenu-mode, erc-imenu-enable, erc-imenu-disable): Create "new" ERC module for Imenu integration. * lisp/erc/erc.el (erc-modules): Add `imenu' to default value and create widget menu item. Update package-version. * test/lisp/erc/erc-tests.el (erc-tests--modules): Add `imenu'. (Bug#60954)
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/erc/erc-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/erc/erc-tests.el b/test/lisp/erc/erc-tests.el
index 0c7b06da436..acd470a1e17 100644
--- a/test/lisp/erc/erc-tests.el
+++ b/test/lisp/erc/erc-tests.el
@@ -1270,7 +1270,7 @@
1270 1270
1271(defconst erc-tests--modules 1271(defconst erc-tests--modules
1272 '( autoaway autojoin button capab-identify completion dcc fill identd 1272 '( autoaway autojoin button capab-identify completion dcc fill identd
1273 irccontrols keep-place list log match menu move-to-prompt netsplit 1273 imenu irccontrols keep-place list log match menu move-to-prompt netsplit
1274 networks noncommands notifications notify page readonly 1274 networks noncommands notifications notify page readonly
1275 replace ring sasl scrolltobottom services smiley sound 1275 replace ring sasl scrolltobottom services smiley sound
1276 spelling stamp track truncate unmorse xdcc)) 1276 spelling stamp track truncate unmorse xdcc))