summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2020-12-31 13:02:12 +0530
committerArun Isaac2020-12-31 15:06:12 +0530
commit08c3f930b7e607fc4d62b10ed8861744e7faed57 (patch)
tree453eed53f185864758472fe3cf6947588ea8e23d
parent63a4a5bfc01513a173216a0a8984ab3ef0cd0c81 (diff)
downloadksh-reports-08c3f930b7e607fc4d62b10ed8861744e7faed57.tar.gz
ksh-reports-08c3f930b7e607fc4d62b10ed8861744e7faed57.tar.lz
ksh-reports-08c3f930b7e607fc4d62b10ed8861744e7faed57.zip
Prefix ksh-forms namespace.
* ksh-forms-improved.el (org-keyword): Rename to ksh-forms-org-keyword. (org-latex-header): Rename to ksh-forms-org-latex-header. (org-keywords): Use ksh-forms-org-keyword. (org-latex-headers): Use ksh-forms-org-latex-header. (ksh-forms-org-latex-header): Use ksh-forms-org-keyword.
-rw-r--r--ksh-forms-improved.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksh-forms-improved.el b/ksh-forms-improved.el
index 67f03b1..e46af85 100644
--- a/ksh-forms-improved.el
+++ b/ksh-forms-improved.el
@@ -69,14 +69,14 @@
(if (and text (not (string-blank-p text)))
(princ (format "%s\n\n" text))))
-(defun org-keyword (keyword-value)
(princ (format "#+%s: %s\n" (car keyword-value) (cdr keyword-value))))
+(defun ksh-forms-org-keyword (keyword-value)
-(defun org-latex-header (header)
- (org-keyword (cons "LATEX_HEADER" header)))
+(defun ksh-forms-org-latex-header (header)
+ (ksh-forms-org-keyword (cons "LATEX_HEADER" header)))
-(setfun org-keywords (mapped 'mapc 'org-keyword))
-(setfun org-latex-headers (mapped 'mapc 'org-latex-header))
+(setfun org-keywords (mapped 'mapc 'ksh-forms-org-keyword))
+(setfun org-latex-headers (mapped 'mapc 'ksh-forms-org-latex-header))
(defun forms-print ()
(interactive)