bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32392: 26.1; wdired and derived dired modes


From: Lars Ingebrigtsen
Subject: bug#32392: 26.1; wdired and derived dired modes
Date: Sat, 13 Jul 2019 04:58:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

James Nguyen <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]