diff options
author | Craig Earls <enderw88@gmail.com> | 2013-03-31 19:18:40 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2013-03-31 19:18:40 -0700 |
commit | 9fc1f512b52e36402a3e913b495b1adc283f6073 (patch) | |
tree | 1123ea24ab2b27560148973e6f44ad41c09d76f5 /lisp | |
parent | f015d00fa5b7cb54781569a8ed3835fa5163fae1 (diff) | |
parent | b5612122ae712e3a924662fa1407c46daca6c85f (diff) | |
download | fork-ledger-9fc1f512b52e36402a3e913b495b1adc283f6073.tar.gz fork-ledger-9fc1f512b52e36402a3e913b495b1adc283f6073.tar.bz2 fork-ledger-9fc1f512b52e36402a3e913b495b1adc283f6073.zip |
Merge commit 'b5612122ae712e3a924662fa1407c46daca6c85f' into next
Conflicts:
lisp/ldg-exec.el
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ldg-commodities.el | 2 | ||||
-rw-r--r-- | lisp/ldg-exec.el | 2 | ||||
-rw-r--r-- | lisp/ldg-report.el | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lisp/ldg-commodities.el b/lisp/ldg-commodities.el index 831d770b..842613c6 100644 --- a/lisp/ldg-commodities.el +++ b/lisp/ldg-commodities.el @@ -75,7 +75,7 @@ Returns a list with (value commodity)." (let ((fields (split-string str "[\n\r]"))) ; break any balances ; with multi commodities ; into a list - (mapcar '(lambda (str) + (mapcar #'(lambda (str) (ledger-split-commodity-string str)) fields))) diff --git a/lisp/ldg-exec.el b/lisp/ldg-exec.el index c9bf92ba..f6c3bb54 100644 --- a/lisp/ldg-exec.el +++ b/lisp/ldg-exec.el @@ -45,7 +45,7 @@ (with-current-buffer (get-buffer-create "*Ledger Error*") (insert-buffer-substring ledger-output) (view-mode) - (toggle-read-only))) + (setq buffer-read-only t))) (defun ledger-exec-success-p (ledger-output-buffer) (with-current-buffer ledger-output-buffer diff --git a/lisp/ldg-report.el b/lisp/ldg-report.el index 4f14fdcb..04c182dd 100644 --- a/lisp/ldg-report.el +++ b/lisp/ldg-report.el @@ -79,7 +79,7 @@ text that should replace the format specifier." (interactive) (goto-char (point-min)) (forward-paragraph) - (next-line) + (forward-line) (save-excursion (setq inhibit-read-only t) (reverse-region (point) (point-max)))) |