]> code.delx.au - gnu-emacs/commitdiff
(Findirect_function): Rewrite docstring.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Fri, 10 Feb 2006 22:36:01 +0000 (22:36 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Fri, 10 Feb 2006 22:36:01 +0000 (22:36 +0000)
Fix omission bug: Declare new arg NOERROR.

src/ChangeLog
src/data.c

index d5a57e890ef728e190fbe8e652be1578b0e61d96..b3c11b951405fd78fc3d91de00ad2f51c16204ac 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-10  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * data.c (Findirect_function): Rewrite docstring.
+       Fix omission bug: Declare new arg NOERROR.
+
 2006-02-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor
index 7919021d061bf45e420ae5bc20ef439963181cc2..73f712279d750eef520b506d29afb75de5da67b8 100644 (file)
@@ -1929,15 +1929,15 @@ indirect_function (object)
 
 DEFUN ("indirect-function", Findirect_function, Sindirect_function, 1, 2, 0,
        doc: /* Return the function at the end of OBJECT's function chain.
-If OBJECT is a symbol, follow all function indirections and return the final
-function binding.
-If OBJECT is not a symbol, just return it.
-If optional arg NOERROR is nil, signal a void-function error if
-the final symbol is unbound.  Otherwise, just return nil is unbound.
+If OBJECT is not a symbol, just return it.  Otherwise, follow all
+function indirections to find the final function binding and return it.
+If the final symbol in the chain is unbound, signal a void-function error.
+Optional arg NOERROR non-nil means to return nil instead of signalling.
 Signal a cyclic-function-indirection error if there is a loop in the
 function chain of symbols.  */)
-(object, noerror)
+     (object, noerror)
      register Lisp_Object object;
+     Lisp_Object noerror;
 {
   Lisp_Object result;