aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-09-06 04:40:23 +0000
committerRichard M. Stallman2005-09-06 04:40:23 +0000
commit2a6bc1f7cae62b2ddfdf574ba4686fdecb92bfc7 (patch)
treead54e3839efbc507dd59c752c4fc03ec28e7f3c2
parentf4885d8137feeee620e5cd224093d1fcb71b3af0 (diff)
downloademacs-2a6bc1f7cae62b2ddfdf574ba4686fdecb92bfc7.tar.gz
emacs-2a6bc1f7cae62b2ddfdf574ba4686fdecb92bfc7.zip
(Coding Conventions): Sometimes it is ok to put the
package prefix elsewhere than at the start of the name.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/tips.texi4
2 files changed, 8 insertions, 1 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index ec8885138b5..8fc5754bf80 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
12005-09-06 Richard M. Stallman <rms@gnu.org>
2
3 * tips.texi (Coding Conventions): Sometimes it is ok to put the
4 package prefix elsewhere than at the start of the name.
5
12005-09-03 Richard M. Stallman <rms@gnu.org> 62005-09-03 Richard M. Stallman <rms@gnu.org>
2 7
3 * tips.texi (Programming Tips): Add conventions for minibuffer 8 * tips.texi (Programming Tips): Add conventions for minibuffer
diff --git a/lispref/tips.texi b/lispref/tips.texi
index d651eb95f0e..fbf18047bde 100644
--- a/lispref/tips.texi
+++ b/lispref/tips.texi
@@ -56,7 +56,9 @@ distinguish your program from other Lisp programs.@footnote{The
56benefits of a Common Lisp-style package system are considered not to 56benefits of a Common Lisp-style package system are considered not to
57outweigh the costs.} Then take care to begin the names of all global 57outweigh the costs.} Then take care to begin the names of all global
58variables, constants, and functions in your program with the chosen 58variables, constants, and functions in your program with the chosen
59prefix. This helps avoid name conflicts. 59prefix. This helps avoid name conflicts. (Occasionally, for a command
60name intended for users to use, it is cleaner if some words come
61before the package name prefix.)
60 62
61This recommendation applies even to names for traditional Lisp 63This recommendation applies even to names for traditional Lisp
62primitives that are not primitives in Emacs Lisp---such as 64primitives that are not primitives in Emacs Lisp---such as