Variable: imenu-space-replacement
imenu-space-replacement is a customizable and buffer-local variable
defined in imenu.el.gz.
Documentation
The replacement string for spaces in index names.
Used when presenting the index in a completion buffer to make the names work as tokens.
Source Code
;; Defined in /usr/src/emacs/lisp/imenu.el.gz
(defcustom imenu-space-replacement "."
"The replacement string for spaces in index names.
Used when presenting the index in a completion buffer to make the
names work as tokens."
:type '(choice string (const nil)))