branch: elpa/beancount
commit 57e2700315ea646e663fd2a7320fb35312fdb9d0
Author: Daniele Nicolodi <[email protected]>
Commit: Daniele Nicolodi <[email protected]>
beancount.el: Fix beancount-use-ido defcustum
Correctly add the option to the benacount group.
---
beancount.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/beancount.el b/beancount.el
index 2d5eff56ee..fb34b8d3ac 100644
--- a/beancount.el
+++ b/beancount.el
@@ -55,6 +55,11 @@ to align all amounts."
:type 'boolean
:group 'beancount)
+(defcustom beancount-use-ido t
+ "If non-nil, use ido-style completion rather than the standard."
+ :type 'boolean
+ :group 'beancount)
+
(defgroup beancount-faces nil "Beancount mode highlighting" :group 'beancount)
(defface beancount-directive
@@ -573,10 +578,6 @@ transaction as pending."
(if (looking-at beancount-transaction-regexp)
(replace-match flag t t nil 2))))))
-(defcustom beancount-use-ido t
- "If non-nil, use ido-style completion rather than the standard completion."
- :type 'boolean)
-
(defun beancount-insert-account (account-name)
"Insert one of the valid account names in this file.
Uses ido niceness according to `beancount-use-ido'."