mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-18 20:10:31 -07:00
* subr.el (sref): Doc-string added.
This commit is contained in:
parent
c9c0f7cf48
commit
66353e86d1
1 changed files with 2 additions and 0 deletions
|
|
@ -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)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue