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 diff
1.1 --- a/yatexlib.el Mon Jan 23 00:11:09 2012 +0900 1.2 +++ b/yatexlib.el Mon Jan 23 00:11:31 2012 +0900 1.3 @@ -2,7 +2,7 @@ 1.4 ;;; YaTeX and yahtml common libraries, general functions and definitions 1.5 ;;; yatexlib.el 1.6 ;;; (c)1994-2012 by HIROSE Yuuji.[yuuji@yatex.org] 1.7 -;;; Last modified Mon Jan 23 00:09:36 2012 on firestorm 1.8 +;;; Last modified Mon Jan 23 00:10:51 2012 on firestorm 1.9 ;;; $Id$ 1.10 1.11 ;; General variables 1.12 @@ -464,6 +464,7 @@ 1.13 1.14 ;;;###autoload 1.15 (defun rindex (string char) 1.16 + "Return the last position of STRING where character CHAR found." 1.17 (let ((pos (1- (length string)))(index -1)) 1.18 (catch 'rindex 1.19 (while (>= pos 0)