mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 05:52:32 -08:00
(sref): Defined.
This commit is contained in:
parent
7bd9ba7033
commit
6bb762b324
1 changed files with 6 additions and 0 deletions
|
|
@ -511,6 +511,12 @@ as returned by the `event-start' and `event-end' functions."
|
|||
(defalias 'compiled-function-p 'byte-code-function-p)
|
||||
(defalias 'define-function 'defalias)
|
||||
|
||||
(defun sref (string byte-index)
|
||||
(let ((byte 0) (char 0))
|
||||
(while (< byte byte-index)
|
||||
(setq byte (+ byte (char-bytes (aref string byte)))))
|
||||
(aref string char)))
|
||||
|
||||
;; Some programs still use this as a function.
|
||||
(defun baud-rate ()
|
||||
"Obsolete function returning the value of the `baud-rate' variable.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue