]> git.eshelyaron.com Git - emacs.git/commitdiff
* subr.el (sref): Doc-string added.
authorKenichi Handa <handa@m17n.org>
Fri, 20 Feb 1998 01:43:38 +0000 (01:43 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 20 Feb 1998 01:43:38 +0000 (01:43 +0000)
lisp/subr.el

index a3d6554e354e6781f942886f899350dc7862b4f6..90588a90046d28ef41ae56cfbf46e37d8ac92bae 100644 (file)
@@ -512,6 +512,8 @@ as returned by the `event-start' and `event-end' functions."
 (defalias 'define-function 'defalias)
 
 (defun sref (string byte-index)
+  "Obsolete function returning a characater in STRING at BYTE-INDEX.
+Please convert your programs to use `aref' witha character-base index."
   (let ((byte 0) (char 0))
     (while (< byte byte-index)
       (setq byte (+ byte (char-bytes (aref string byte)))))