]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove mention of using defun- and defvar- as prefixes
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Mar 2021 12:27:34 +0000 (13:27 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Mar 2021 12:27:34 +0000 (13:27 +0100)
* 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).

doc/lispref/tips.texi

index 4a7793a976d9402d4f9d8c72a0bd3c66f879eca3..36c68ee5ced115a50725dfb6470c65995aa28507 100644 (file)
@@ -75,8 +75,8 @@ example, it is our convention to have commands that list objects named
 as @samp{list-@var{something}}, e.g., a package called @samp{frob}
 could have a command @samp{list-frobs}, when its other global symbols
 begin with @samp{frob-}.  Also, constructs that define functions,
-variables, etc., work better if they start with @samp{defun} or
-@samp{defvar}, so put the name prefix later on in the name.
+variables, etc., work better if they start with @samp{define-}, so put
+the name prefix later on in the name.
 
 This recommendation applies even to names for traditional Lisp
 primitives that are not primitives in Emacs Lisp---such as