aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-03-06 13:27:34 +0100
committerLars Ingebrigtsen2021-03-06 13:27:34 +0100
commit328e7cc475e3cd08fd72b71f985fcee6895e4c7e (patch)
tree8d0ffbb384589bb20fde0fb4a5a24cb6c0753176
parent4eb8cbd90379fee413ef138ed71176204775f255 (diff)
downloademacs-328e7cc475e3cd08fd72b71f985fcee6895e4c7e.tar.gz
emacs-328e7cc475e3cd08fd72b71f985fcee6895e4c7e.zip
Remove mention of using defun- and defvar- as prefixes
* doc/lispref/tips.texi (Coding Conventions): Remove mention of using defun- and defvar- as prefixes, as this is something that we rarely do in Emacs (bug#46899).
-rw-r--r--doc/lispref/tips.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi
index 4a7793a976d..36c68ee5ced 100644
--- a/doc/lispref/tips.texi
+++ b/doc/lispref/tips.texi
@@ -75,8 +75,8 @@ example, it is our convention to have commands that list objects named
75as @samp{list-@var{something}}, e.g., a package called @samp{frob} 75as @samp{list-@var{something}}, e.g., a package called @samp{frob}
76could have a command @samp{list-frobs}, when its other global symbols 76could have a command @samp{list-frobs}, when its other global symbols
77begin with @samp{frob-}. Also, constructs that define functions, 77begin with @samp{frob-}. Also, constructs that define functions,
78variables, etc., work better if they start with @samp{defun} or 78variables, etc., work better if they start with @samp{define-}, so put
79@samp{defvar}, so put the name prefix later on in the name. 79the name prefix later on in the name.
80 80
81This recommendation applies even to names for traditional Lisp 81This recommendation applies even to names for traditional Lisp
82primitives that are not primitives in Emacs Lisp---such as 82primitives that are not primitives in Emacs Lisp---such as