emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Justin <justinvallon@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] org-src: flatten-tree is Emacs 27.1; require compat
Date: Tue, 4 Jul 2023 19:21:05 -0400	[thread overview]
Message-ID: <0288575b-fde8-0e7d-ac74-1f0ac93ce56f@vallon.homeip.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Also available at fake PR https://github.com/vallon/org-mode/pull/1

git fetch https://github.com/vallon/org-mode compat-for-flatten-tree

---
  lisp/org-src.el | 1 +
  1 file changed, 1 insertion(+)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index 317682844..b8db7c128 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -40,6 +40,7 @@
  (require 'org-compat)
  (require 'org-keys)
  (require 'sh-script)
+(require 'compat)

  (declare-function org--get-expected-indentation "org" (element contentsp))
  (declare-function org-mode "org" ())
-- 
2.20.1


[-- Attachment #2: 0001-flatten-tree-is-new-in-27.1-require-compat.patch --]
[-- Type: text/x-patch, Size: 631 bytes --]

From 59788bd2ad1f94627bc172f24cce6ecd4f024420 Mon Sep 17 00:00:00 2001
From: Justin Vallon <JustinVallon@gmail.com>
Date: Tue, 4 Jul 2023 19:01:51 -0400
Subject: [PATCH] flatten-tree is new in 27.1; require compat

---
 lisp/org-src.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index 317682844..b8db7c128 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -40,6 +40,7 @@
 (require 'org-compat)
 (require 'org-keys)
 (require 'sh-script)
+(require 'compat)
 
 (declare-function org--get-expected-indentation "org" (element contentsp))
 (declare-function org-mode "org" ())
-- 
2.20.1


             reply	other threads:[~2023-07-04 23:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-04 23:21 Justin [this message]
2023-07-05 10:23 ` [PATCH] org-src: flatten-tree is Emacs 27.1; require compat Ihor Radchenko

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0288575b-fde8-0e7d-ac74-1f0ac93ce56f@vallon.homeip.net \
    --to=justinvallon@gmail.com \
    --cc=emacs-orgmode@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).