From db8d3237e47573389f10b19f307fee77dc0fab6c Mon Sep 17 00:00:00 2001
From: Lukas Larsson
Date: Tue, 6 Apr 2021 11:04:13 +0200
Subject: edoc: Re-instate ?NO_APP and deprecate it
Closes #4603
---
lib/edoc/include/edoc_doclet.hrl | 3 +++
system/doc/general_info/deprecations_24.inc | 7 +++++++
2 files changed, 10 insertions(+)
diff --git a/lib/edoc/include/edoc_doclet.hrl b/lib/edoc/include/edoc_doclet.hrl
index 40ed77cff9..33e28785c0 100644
--- a/lib/edoc/include/edoc_doclet.hrl
+++ b/lib/edoc/include/edoc_doclet.hrl
@@ -26,6 +26,9 @@
%% Author contact: carlsson.richard@gmail.com
%% =====================================================================
+%% Keep this define for backwards compatibility
+-define(NO_APP, no_app).
+
-record(doclet_context, {dir = "",
env,
opts = []}).
diff --git a/system/doc/general_info/deprecations_24.inc b/system/doc/general_info/deprecations_24.inc
index 0eb859789a..d508aca7d3 100644
--- a/system/doc/general_info/deprecations_24.inc
+++ b/system/doc/general_info/deprecations_24.inc
@@ -28,3 +28,10 @@
+
+ ?NO_APP macro
+
+ The ?NO_APP macro in the edoc include file edoc_doclet.hrl has
+ been deprecated.
+
+
--
cgit v1.2.1