Function: semantic-grammar-insert-defconst
semantic-grammar-insert-defconst is a byte-compiled function defined
in grammar.el.gz.
Signature
(semantic-grammar-insert-defconst NAME VALUE DOCSTRING)
Documentation
Insert declaration of constant NAME with VALUE and DOCSTRING.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/grammar.el.gz
(defun semantic-grammar-insert-defconst (name value docstring)
"Insert declaration of constant NAME with VALUE and DOCSTRING."
(let ((start (point)))
(insert (format "(defconst %s\n%s%S)\n\n" name value docstring))
(save-excursion
(goto-char start)
(indent-sexp))))