diff options
author | Craig Earls <enderw88@gmail.com> | 2014-11-13 06:25:12 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-11-13 06:25:12 -0700 |
commit | bd9fde2a40fb0ce7758f6dfa10384b3fdfa3c60e (patch) | |
tree | 92055fea55bbece1a66d540ed656963644c38119 /doc/ledger-mode.texi | |
parent | a3f3aa304fcfb19fc716c5eaf33a6e152bb3aa71 (diff) | |
parent | 33d58a69f99f9b528a20108c5b4af4f8c68bf4b6 (diff) | |
download | fork-ledger-bd9fde2a40fb0ce7758f6dfa10384b3fdfa3c60e.tar.gz fork-ledger-bd9fde2a40fb0ce7758f6dfa10384b3fdfa3c60e.tar.bz2 fork-ledger-bd9fde2a40fb0ce7758f6dfa10384b3fdfa3c60e.zip |
Merge pull request #328 from listx/master
doc: ledger-mode: load lazily
Thanks. This should work fine.
Diffstat (limited to 'doc/ledger-mode.texi')
-rw-r--r-- | doc/ledger-mode.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ledger-mode.texi b/doc/ledger-mode.texi index 17ec0e78..c8c4d1f6 100644 --- a/doc/ledger-mode.texi +++ b/doc/ledger-mode.texi @@ -119,9 +119,9 @@ initialization file (@file{~/.emacs}, @file{~/.emacs.d/init.el}, or @file{~/.Aquamacs/Preferences.el}). @lisp +(autoload 'ledger-mode "ledger-mode" "A major mode for Ledger" t) (add-to-list 'load-path (expand-file-name "/path/to/ledger/source/lisp/")) -(load "ledger-mode") (add-to-list 'auto-mode-alist '("\\.ledger$" . ledger-mode)) @end lisp |