From: james@jojojames.com
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 32392@debbugs.gnu.org
Subject: bug#32392: 26.1; wdired and derived dired modes
Date: Sun, 14 Jul 2019 20:39:50 -0700 [thread overview]
Message-ID: <40C0B550-0D3A-40EA-9112-B51A19B0F7D1@jojojames.com> (raw)
In-Reply-To: <875zo6zllj.fsf@mouse.gnus.org>
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
prev parent reply other threads:[~2019-07-15 3:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 2:12 bug#32392: 26.1; wdired and derived dired modes James Nguyen
2019-07-13 2:58 ` Lars Ingebrigtsen
2019-07-15 3:39 ` james [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40C0B550-0D3A-40EA-9112-B51A19B0F7D1@jojojames.com \
--to=james@jojojames.com \
--cc=32392@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.