Function: texinfo-set
texinfo-set is a byte-compiled function defined in texinfmt.el.gz.
Signature
(texinfo-set)
Documentation
Set the value of the flag, optionally to a string.
The command @set foo This is a string.
sets flag foo to the value: This is a string.
The command @value{foo} expands to the value.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/texinfmt.el.gz
(defun texinfo-set ()
"Set the value of the flag, optionally to a string.
The command `@set foo This is a string.'
sets flag foo to the value: `This is a string.'
The command `@value{foo}' expands to the value."
(let* ((arg (texinfo-parse-arg-discard))
(flag (car (read-from-string arg)))
(value (substring arg (cdr (read-from-string arg)))))
(if (string-match "^[ \t]+" value)
(setq value (substring value (match-end 0))))
(put flag 'texinfo-whether-setp 'flag-set)
(put flag 'texinfo-set-value value)))