Subject: Re: bug#32392: 26.1; wdired and derived dired modes

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 13 Jul 2019 04:58:48 +0200

James Nguyen <[email-masked]> writes:

> Digging into the function wdired-change-to-wdired-mode, that function
> throws an error if the current major mode is not 'dired-mode.
>
> (unless (eq major-mode 'dired-mode)
>   (error "Not a Dired buffer"))
>
> I think we can change the check to be:
>
> (unless (derived-mode-p 'dired-mode)
>   (error "Not a Dired buffer"))

Makes sense to me; I've now done this change on the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no