aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs-module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c
index e5c88fd814a..82c587fcbe9 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -46,6 +46,11 @@ rules:
46- emacs-module.h should only depend on standard C headers. In 46- emacs-module.h should only depend on standard C headers. In
47 particular, don't include config.h or lisp.h from emacs-module.h. 47 particular, don't include config.h or lisp.h from emacs-module.h.
48 48
49- The contents of emacs-module.h should be the same on all platforms
50 and architectures.
51
52- emacs-module.h may not depend on Emacs configuration options.
53
49- Prefix all names in emacs-module.h with "emacs_" or "EMACS_". 54- Prefix all names in emacs-module.h with "emacs_" or "EMACS_".
50 55
51To add a new module function, proceed as follows: 56To add a new module function, proceed as follows: