branch: elpa/beancount
commit 201629317db9a397fbb29a9347be3168f4390e44
Author: Daniele Nicolodi <[email protected]>
Commit: Daniele Nicolodi <[email protected]>
beancount.el: Sort option names alphabetically
---
beancount.el | 35 ++++++++++++++++-------------------
1 file changed, 16 insertions(+), 19 deletions(-)
diff --git a/beancount.el b/beancount.el
index fb34b8d3ac..250d0fe382 100644
--- a/beancount.el
+++ b/beancount.el
@@ -162,33 +162,30 @@ to align all amounts."
(defconst beancount-option-names
;; This list is kept in sync with the options defined in
;; beancount/parser/options.py.
- ;; Note: We should eventually build a tool that spits out the current list
- ;; automatically.
- '("title"
- "name_assets"
- "name_liabilities"
- "name_equity"
- "name_income"
- "name_expenses"
- "bookin_algorithm"
- "bookin_method"
+ '("account_current_conversions"
+ "account_current_earnings"
"account_previous_balances"
- "account_previous_earnings"
"account_previous_conversions"
- "account_current_earnings"
- "account_current_conversions"
+ "account_previous_earnings"
"account_rounding"
+ "bookin_algorithm"
+ "bookin_method"
"conversion_currency"
+ "documents"
+ "infer_tolerance_from_cost"
"inferred_tolerance_default"
"inferred_tolerance_multiplier"
- "infer_tolerance_from_cost"
- "documents"
+ "long_string_maxlines"
+ "name_assets"
+ "name_equity"
+ "name_expenses"
+ "name_income"
+ "name_liabilities"
"operating_currency"
- "render_commas"
- "plugin_processing_mode"
"plugin"
- "long_string_maxlines"
- ))
+ "plugin_processing_mode"
+ "render_commas"
+ "title"))
(defconst beancount-date-regexp
"[0-9][0-9][0-9][0-9][-/][0-9][0-9][-/][0-9][0-9]"
"A regular expression to match dates.")