summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index bcbbe05b..a8c28102 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -231,8 +231,7 @@
   :commands (global-smart-tab-mode)
   :init (global-smart-tab-mode)
   :config (progn
-            (nconc smart-tab-completion-functions-alist '((php-mode . php-complete-function)
-                                                          (ledger-mode . ledger-pcomplete)))
+            (nconc smart-tab-completion-functions-alist '((php-mode . php-complete-function)))
             (diminish 'smart-tab-mode "")))
 
 (req-package company
@@ -800,6 +799,7 @@ mouse-1: Display Line and Column Mode Menu"))))))
             (defun setup-ledger-mode ()
               (setq-local indent-tabs-mode nil))
             (add-hook 'ledger-mode-hook #'setup-ledger-mode)
+            (add-to-list 'smart-tab-disabled-major-modes 'ledger-mode)
             (setq ledger-use-iso-dates t
                   ledger-post-use-completion-engine 'ido
                   ledger-reconcile-default-commodity "£"