[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Replace all calls to (eq major-mode 'org-mode) with (derived
From: |
Cássio Koshikumo |
Subject: |
[O] [PATCH] Replace all calls to (eq major-mode 'org-mode) with (derived-mode-p 'org-mode) |
Date: |
Mon, 06 Feb 2012 18:49:49 -0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.0.93 (i386-apple-darwin11.3.0) MULE/6.0 (HANACHIRUSATO) |
Hello all,
A while ago I asked about changing the Major Mode checking that happens
throughout Org, so that derived modes would function properly. I finally had
the time to make a patch.
I just replaced every (eq major-mode 'org-mode) with (derived-mode-p 'org-mode).
All files and buffers that used to pass the test will still pass it, and the
ones that have Major Modes derived from Org now will pass it too. I hope the
format of the patch is OK (it's my first, actually), and that the change makes
sense.
Regards,
--
Cássio Koshikumo
0001-Replace-all-calls-to-eq-major-mode-org-mode-with-der.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] [PATCH] Replace all calls to (eq major-mode 'org-mode) with (derived-mode-p 'org-mode),
Cássio Koshikumo <=