Add autoloads, fix name of function
Rename function `conlanging-nyqy-to-org' to `conlanging-proto-nyqy-to-org' in order to be more accurate of the language this function was written for
This commit is contained in:
parent
de0f245545
commit
ff60fddaf4
@ -329,6 +329,7 @@ LANGUAGE must be one of the following values:
|
|||||||
"List of Ñyqy characters and their phonetics equivalent.
|
"List of Ñyqy characters and their phonetics equivalent.
|
||||||
See `conlanging--proto-nyqy-phoneme'.")
|
See `conlanging--proto-nyqy-phoneme'.")
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun conlanging-proto-nyqy-to-phonetics (text)
|
(defun conlanging-proto-nyqy-to-phonetics (text)
|
||||||
"Return the phonetic equivalent of Proto-Ñyqy TEXT."
|
"Return the phonetic equivalent of Proto-Ñyqy TEXT."
|
||||||
(let ((text (split-string (downcase text) "" t))
|
(let ((text (split-string (downcase text) "" t))
|
||||||
@ -351,7 +352,8 @@ See `conlanging--proto-nyqy-phoneme'.")
|
|||||||
(setq phonetics (concat phonetics (oref cur-phoneme :phoneme))))))
|
(setq phonetics (concat phonetics (oref cur-phoneme :phoneme))))))
|
||||||
phonetics))
|
phonetics))
|
||||||
|
|
||||||
(defun conlanging-nyqy-to-org (text)
|
;;;###autoload
|
||||||
|
(defun conlanging-proto-nyqy-to-org (text)
|
||||||
"Return phonetic equivalent of TEXT for `org-mode' LaTeX and HTML exports.
|
"Return phonetic equivalent of TEXT for `org-mode' LaTeX and HTML exports.
|
||||||
Text is formatted as either LaTeX code or HTML code for their respective exports."
|
Text is formatted as either LaTeX code or HTML code for their respective exports."
|
||||||
(let ((phonetics (conlanging-proto-nyqy-to-phonetics text)))
|
(let ((phonetics (conlanging-proto-nyqy-to-phonetics text)))
|
||||||
@ -362,9 +364,6 @@ Text is formatted as either LaTeX code or HTML code for their respective exports
|
|||||||
text
|
text
|
||||||
phonetics)))
|
phonetics)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(provide 'conlanging)
|
(provide 'conlanging)
|
||||||
|
|
||||||
;;; conlanging.el ends here
|
;;; conlanging.el ends here
|
||||||
|
Loading…
x
Reference in New Issue
Block a user