diff options
author | 4ourbit <4ourbit@gmail.com> | 2014-01-01 22:00:26 +0100 |
---|---|---|
committer | 4ourbit <4ourbit@gmail.com> | 2014-01-01 22:00:26 +0100 |
commit | 316b1b7cfefbc3d65994f518df39545ef74f6879 (patch) | |
tree | b74bb75297235be5ae924648a973ffb6ecfd8df1 /lisp | |
parent | 383f17f1146b700f3c152129cf8733c80bc79286 (diff) | |
download | fork-ledger-316b1b7cfefbc3d65994f518df39545ef74f6879.tar.gz fork-ledger-316b1b7cfefbc3d65994f518df39545ef74f6879.tar.bz2 fork-ledger-316b1b7cfefbc3d65994f518df39545ef74f6879.zip |
Plugging ledger pcomplete into completion-at-point.
Added documentation on how to use pcomplete transparently via completion-at-point.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ledger-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ledger-mode.el b/lisp/ledger-mode.el index 209f970e..0d683168 100644 --- a/lisp/ledger-mode.el +++ b/lisp/ledger-mode.el @@ -325,6 +325,7 @@ With a prefix argument, remove the effective date. " 'ledger-parse-arguments) (set (make-local-variable 'pcomplete-command-completion-function) 'ledger-complete-at-point) + (add-to-list 'completion-at-point-functions 'pcomplete-completions-at-point) (add-hook 'post-command-hook 'ledger-highlight-xact-under-point nil t) (add-hook 'before-revert-hook 'ledger-occur-remove-all-overlays nil t) |