Function: eieio-object-set-name-string

eieio-object-set-name-string is a byte-compiled function defined in eieio-base.el.gz.

This function is obsolete since 25.1; inherit from eieio-named(var)/eieio-named(fun) and use (setf (slot-value OBJ 'object-name) NAME) instead

Signature

(eieio-object-set-name-string OBJ NAME)

Documentation

Set the string which is OBJ's NAME.

Aliases

object-set-name-string (obsolete since 24.4)

Implementations

(eieio-object-set-name-string (OBJ eieio-named) NAME) in `eieio-base.el'.

Set the string which is OBJ's NAME.

(eieio-object-set-name-string OBJ NAME) in `eieio-base.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio-base.el.gz
(cl-defgeneric eieio-object-set-name-string (obj name)
  "Set the string which is OBJ's NAME."
  (declare (obsolete "inherit from `eieio-named' and use (setf (slot-value OBJ \\='object-name) NAME) instead" "25.1"))
  (cl-check-type name string)
  (setf (gethash obj eieio--object-names) name))