*** New option `hi-lock-auto-select-face'. When non-nil, hi-lock commands
will cycle through faces in `hi-lock-face-defaults' without prompting.
+---
** New Imenu option `imenu-generic-skip-comments-and-strings'.
** Info
2014-02-22 Glenn Morris <rgm@gnu.org>
+ * imenu.el (imenu--generic-function): Doc fix.
+
* register.el (frame-configuration-to-register): Make obsolete.
2014-02-22 Juanma Barranquero <lekktu@gmail.com>
;; so it needs to be careful never to loop!
(defun imenu--generic-function (patterns)
"Return an index alist of the current buffer based on PATTERNS.
-PATTERNS should be an alist which has the same form as
-`imenu-generic-expression'.
+PATTERNS should be an alist with the same form as `imenu-generic-expression'.
+
+If `imenu-generic-skip-comments-and-strings' is non-nil, this ignores
+text inside comments and strings.
+
+If `imenu-case-fold-search' is non-nil, this ignores case.
The return value is an alist of the form
(INDEX-NAME . INDEX-POSITION)