Function: srecode-dictionary-set-value
srecode-dictionary-set-value is a byte-compiled function defined in
dictionary.el.gz.
Signature
(srecode-dictionary-set-value ARG &rest ARGS)
Implementations
(srecode-dictionary-set-value (DICT srecode-dictionary) NAME VALUE) in `srecode/dictionary.el'.
In dictionary DICT, set NAME to have VALUE.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/dictionary.el.gz
(cl-defmethod srecode-dictionary-set-value ((dict srecode-dictionary)
name value)
"In dictionary DICT, set NAME to have VALUE."
;; Validate inputs
(unless (stringp name)
(signal 'wrong-type-argument (list name 'stringp)))
;; Add the value.
(with-slots (namehash) dict
(puthash name value namehash))
)