Function: hexl-oct-char-to-integer

hexl-oct-char-to-integer is a byte-compiled function defined in hexl.el.gz.

Signature

(hexl-oct-char-to-integer CHARACTER)

Documentation

Take a char and return its value as if it was an octal digit.

Source Code

;; Defined in /usr/src/emacs/lisp/hexl.el.gz
(defun hexl-oct-char-to-integer (character)
  "Take a char and return its value as if it was an octal digit."
  (if (and (>= character ?0) (<= character ?7))
      (- character ?0)
    (error "Invalid octal digit `%c'" character)))