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: james
Subject: bug#32392: 26.1; wdired and derived dired modes
Date: Sun, 14 Jul 2019 20:39:50 -0700

Thanks!

> On Jul 12, 2019, at 7:58 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> 
> James Nguyen <james@jojojames.com> 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]