summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2021-04-06 11:04:13 +0200
committerLukas Larsson <lukas@erlang.org>2021-04-06 11:05:22 +0200
commitdb8d3237e47573389f10b19f307fee77dc0fab6c (patch)
tree9a598e31690eb4a76150f8a90a43a965b24e14f2
parentaaa5b0543b1e74fd1e19c276a9bbc0824672d212 (diff)
downloaderlang-db8d3237e47573389f10b19f307fee77dc0fab6c.tar.gz
edoc: Re-instate ?NO_APP and deprecate it
Closes #4603
-rw-r--r--lib/edoc/include/edoc_doclet.hrl3
-rw-r--r--system/doc/general_info/deprecations_24.inc7
2 files changed, 10 insertions, 0 deletions
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 @@
</p>
</section>
+ <section>
+ <title>?NO_APP macro</title>
+ <p>
+ The ?NO_APP macro in the edoc include file <c>edoc_doclet.hrl</c> has
+ been deprecated.
+ </p>
+ </section>