diff options
| author | F. Jason Park | 2023-01-19 21:07:27 -0800 |
|---|---|---|
| committer | F. Jason Park | 2023-04-08 14:23:51 -0700 |
| commit | 2d876a4ca94d7c74339eb18ca98528d017cab2a8 (patch) | |
| tree | cea0227030b11d1b79086864a5bb27367332bee0 /java | |
| parent | 22104de5daa12e82bb6a246f05f4cd2927eb37a3 (diff) | |
| download | emacs-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 'java')
0 files changed, 0 insertions, 0 deletions