aboutsummaryrefslogtreecommitdiff
path: root/gui/patch
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-08-29 10:28:08 +0200
committerAdrian Kummerlaender2020-08-29 10:28:08 +0200
commitc4a114a5b30a3bace11e27345d15fc9a922701fc (patch)
tree1cf1f2b1ada954f9289e9e971e39cf5ffc29ede9 /gui/patch
parent199b699e089ff00460ead86eeaa625c6bfa10f3d (diff)
downloadnixos_home-c4a114a5b30a3bace11e27345d15fc9a922701fc.tar
nixos_home-c4a114a5b30a3bace11e27345d15fc9a922701fc.tar.gz
nixos_home-c4a114a5b30a3bace11e27345d15fc9a922701fc.tar.bz2
nixos_home-c4a114a5b30a3bace11e27345d15fc9a922701fc.tar.lz
nixos_home-c4a114a5b30a3bace11e27345d15fc9a922701fc.tar.xz
nixos_home-c4a114a5b30a3bace11e27345d15fc9a922701fc.tar.zst
nixos_home-c4a114a5b30a3bace11e27345d15fc9a922701fc.zip
Force usage of more up-to-date external org version
This is almost certainly not the simplest way of doing this but as the derivation builds Emacs anyway it doesn't cost anything to remove the builtin version of org.
Diffstat (limited to 'gui/patch')
-rw-r--r--gui/patch/optional-org-gnus.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gui/patch/optional-org-gnus.patch b/gui/patch/optional-org-gnus.patch
new file mode 100644
index 0000000..b4329dd
--- /dev/null
+++ b/gui/patch/optional-org-gnus.patch
@@ -0,0 +1,15 @@
+diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el
+index ee556a3..5ac1d78 100644
+--- a/lisp/gnus/gnus-icalendar.el
++++ b/lisp/gnus/gnus-icalendar.el
+@@ -358,8 +358,8 @@ on the IDENTITIES list."
+ ;; TODO: this is an optional feature, and it's only available with org-mode
+ ;; 7+, so will need to properly handle emacsen with no/outdated org-mode
+
+-(require 'org)
+-(require 'org-capture)
++(require 'org nil t)
++(require 'org-capture nil t)
+
+ (defgroup gnus-icalendar-org nil
+ "Settings for Calendar Event gnus/org integration."