aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_misc.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-06-06 17:58:10 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commite280a374991a3a6db3c40fd1fa03a2d9c6fa66eb (patch)
tree730441b0371f6f65794a5e598000e89c06127bed /org/default_misc.org
parentgetopt, fixes, & naming command line options related (diff)
naming mostly
Diffstat (limited to 'org/default_misc.org')
-rw-r--r--org/default_misc.org21
1 files changed, 5 insertions, 16 deletions
diff --git a/org/default_misc.org b/org/default_misc.org
index b87a1f3..4fe8a7b 100644
--- a/org/default_misc.org
+++ b/org/default_misc.org
@@ -65,7 +65,7 @@ import
#+name: ao_defaults_template_registers
#+BEGIN_SRC d
-string[string][string] conf_aa() {
+string[string][string] conf_aa_empty() {
auto conf_ = [
"webserv": [
"url_root" : "",
@@ -120,18 +120,7 @@ string[string][string] conf_aa() {
"action" : "",
"db" : "",
"title" : ""
- ]
- ];
- return conf_;
-}
-#+END_SRC
-
-**** make associative array
-
-#+name: ao_defaults_template_registers
-#+BEGIN_SRC d
-string[string][string] make_aa() {
- auto make_ = [
+ ],
"make": [
"bold" : "",
"breaks" : "",
@@ -147,9 +136,9 @@ string[string][string] make_aa() {
"num_depth" : "",
"substitute" : "",
"texpdf_font" : ""
- ]
+ ],
];
- return make_;
+ return conf_;
}
#+END_SRC
@@ -157,7 +146,7 @@ string[string][string] make_aa() {
#+name: ao_defaults_template_registers
#+BEGIN_SRC d
-string[string][string] meta_aa() {
+string[string][string] meta_aa_empty() {
auto meta_ = [
"classify": [
"dewey" : "",