From c93ab4ad4f63f8c93326650094cbb21802bbc0d7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 22 Apr 2015 19:17:36 +0100 Subject: Emacs: Improve functionality in ledger --- tag-emacs/emacs.d/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tag-emacs/emacs.d') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index bcbbe05..a8c2810 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 "£" -- cgit 1.4.1