[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56430: [PATCH] fix broken `imenu--create-keymap` when an item is nil
From: |
Lars Ingebrigtsen |
Subject: |
bug#56430: [PATCH] fix broken `imenu--create-keymap` when an item is nil |
Date: |
Thu, 07 Jul 2022 10:59:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Brennan Vincent <brennan@umanwizard.com> writes:
> - `(,(intern (car item)) ,(car item)
> + `(,(and (car item) (intern (car item))) ,(car item)
> ,@(cond
> ((imenu--subalist-p item)
> (imenu--create-keymap (car item) (cdr item) cmd))
In what cases is (car item) nil here? Isn't that a bug in the caller?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no