Function: toolbarx-make-symbol-from-string
toolbarx-make-symbol-from-string is a byte-compiled function defined
in toolbar-x.el.
Signature
(toolbarx-make-symbol-from-string STRING)
Documentation
Return a (intern) symbol from STRING.
Downcase string and replace spaces by dashes.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/toolbar-x.el
(defun toolbarx-make-symbol-from-string (string)
"Return a (intern) symbol from STRING.
Downcase string and replace spaces by dashes."
(let* ((str1 (append (downcase string) nil))
(str2))
(dolist (i str1)
(if (eq i 32) ; if dash, push space
(push 45 str2)
(push i str2)))
(intern (concat (nreverse str2)))))