Mercurial > hgrepos > hgweb.cgi > yatex
changeset 226:60844b664f54 dev
Add docstring to rindex().
author | yuuji@gentei.org |
---|---|
date | Mon, 23 Jan 2012 00:11:31 +0900 |
parents | bd9dc9d53a3a |
children | 3b2ac4652810 |
files | yatexlib.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)