summaryrefslogtreecommitdiff
path: root/modes
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-01-01 02:25:08 +0800
committerJSDurand <mmemmew@gmail.com>2023-01-01 02:25:08 +0800
commitf3c383b7906235e3b50dbc196194f311bf949174 (patch)
tree0f12da5263f9ed29f39b5e8ba1774cba9e49b528 /modes
parentb6a8d5d653c15437c7c3e8a580e00c4770e4124b (diff)
imenu: flatten imenu
* imenu-conf.el (imenu-flatten-p): A variable to control whether or not we want to flatten imenu. (imenu-flatten-prefix): A helper function to deal with prefixes. (imenu-flatten): The function that actually flattens the lists. (imenu-flatten-advice, imenu--make-index-alist): Advice the producer of indices of imenu to plug our flattening logic in. * init.el ("imenu-conf.el"): Load this configuration automatically.
Diffstat (limited to 'modes')
0 files changed, 0 insertions, 0 deletions