# HG changeset patch # User yuuji@gentei.org # Date 1327245091 -32400 # Node ID 60844b664f54f59848334a7488c88e4877c11a4c # Parent bd9dc9d53a3a4166e1a193939594c99349c309b0 Add docstring to rindex(). diff -r bd9dc9d53a3a -r 60844b664f54 yatexlib.el --- a/yatexlib.el Mon Jan 23 00:11:09 2012 +0900 +++ b/yatexlib.el Mon Jan 23 00:11:31 2012 +0900 @@ -2,7 +2,7 @@ ;;; YaTeX and yahtml common libraries, general functions and definitions ;;; yatexlib.el ;;; (c)1994-2012 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Jan 23 00:09:36 2012 on firestorm +;;; Last modified Mon Jan 23 00:10:51 2012 on firestorm ;;; $Id$ ;; General variables @@ -464,6 +464,7 @@ ;;;###autoload (defun rindex (string char) + "Return the last position of STRING where character CHAR found." (let ((pos (1- (length string)))(index -1)) (catch 'rindex (while (>= pos 0)