char-table.scm 781 B

12345678910111213141516171819202122232425
  1. (define-module (lang elisp primitives char-table)
  2. #:use-module (lang elisp internals fset)
  3. #:use-module (lang elisp internals null)
  4. #:use-module (ice-9 optargs))
  5. (fset 'make-char-table
  6. (lambda* (purpose #:optional init)
  7. "Return a newly created char-table, with purpose PURPOSE.
  8. Each element is initialized to INIT, which defaults to nil.
  9. PURPOSE should be a symbol which has a `char-table-extra-slots' property.
  10. The property's value should be an integer between 0 and 10."
  11. (list purpose (vector init))))
  12. (fset 'define-charset
  13. (lambda (charset-id charset-symbol info-vector)
  14. (list 'charset charset-id charset-symbol info-vector)))
  15. (fset 'setup-special-charsets
  16. (lambda ()
  17. 'unimplemented))
  18. (fset 'make-char-internal
  19. (lambda ()
  20. 'unimplemented))