From ff60fddaf4bbef74a181c214b94e4426d7c93e5a Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 28 Jun 2021 23:09:36 +0200 Subject: [PATCH] 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 --- conlanging.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/conlanging.el b/conlanging.el index 32c50f7..bddacf9 100644 --- a/conlanging.el +++ b/conlanging.el @@ -329,6 +329,7 @@ LANGUAGE must be one of the following values: "List of Ñyqy characters and their phonetics equivalent. See `conlanging--proto-nyqy-phoneme'.") +;;;###autoload (defun conlanging-proto-nyqy-to-phonetics (text) "Return the phonetic equivalent of Proto-Ñyqy TEXT." (let ((text (split-string (downcase text) "" t)) @@ -351,7 +352,8 @@ See `conlanging--proto-nyqy-phoneme'.") (setq phonetics (concat phonetics (oref cur-phoneme :phoneme)))))) 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. Text is formatted as either LaTeX code or HTML code for their respective exports." (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 phonetics))) - - - (provide 'conlanging) ;;; conlanging.el ends here