Commit 7985a8e3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Coding Conventions): Cleanup last change.

parent cc008f87
...@@ -177,9 +177,9 @@ compatibility issues. ...@@ -177,9 +177,9 @@ compatibility issues.
Redefining (or advising) an Emacs primitive is a bad idea. It may do Redefining (or advising) an Emacs primitive is a bad idea. It may do
the right thing for a particular program, but there is no telling what the right thing for a particular program, but there is no telling what
other programs might break as a result. In any case, it is a problem other programs might break as a result. In any case, it is a problem
for debugging, because the two advised function doesn't do what its for debugging, because the advised function doesn't do what its source
source code says it does. If the programmer investigating the problem code says it does. If the programmer investigating the problem is
is unaware that there is advice on the function, the experience can be unaware that there is advice on the function, the experience can be
very frustrating. very frustrating.
We hope to remove all the places in Emacs that advise primitives. We hope to remove all the places in Emacs that advise primitives.
...@@ -192,10 +192,10 @@ in another Lisp package. ...@@ -192,10 +192,10 @@ in another Lisp package.
@item @item
Likewise, avoid using @code{eval-after-load} (@pxref{Hooks for Likewise, avoid using @code{eval-after-load} (@pxref{Hooks for
Loading}) in libraries and packages. This feature is meant for Loading}) in libraries and packages. This feature is meant for
personal customizations; using it in a Lisp program is unclean because personal customizations; using it in a Lisp program is unclean,
it modifies the behavior of another Lisp file in an invisible way. because it modifies the behavior of another Lisp file in a way that's
This is an obstacle for debugging, much like advising a function in not visible in that file. This is an obstacle for debugging, much
the other package. like advising a function in the other package.
@item @item
If a file does replace any of the functions or library programs of If a file does replace any of the functions or library programs of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment