summaryrefslogtreecommitdiff
path: root/lisp/ledger.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-17 16:56:11 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-17 16:56:11 +0100
commitde50277abe0f2d1c8ff85d57fa70f30d177a2732 (patch)
treec3a83aa34f2fb5e0775daed8d7a770028c1d3ab9 /lisp/ledger.el
parent6374b308b25eff2289347edc94d3a450dda348ac (diff)
parentf0a83b35f0286fa986044d4362d76399080ab864 (diff)
downloadfork-ledger-de50277abe0f2d1c8ff85d57fa70f30d177a2732.tar.gz
fork-ledger-de50277abe0f2d1c8ff85d57fa70f30d177a2732.tar.bz2
fork-ledger-de50277abe0f2d1c8ff85d57fa70f30d177a2732.zip
Merge commit 'chrismgray/master' into next
Diffstat (limited to 'lisp/ledger.el')
-rw-r--r--lisp/ledger.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el
index b09ddc34..be730fd9 100644
--- a/lisp/ledger.el
+++ b/lisp/ledger.el
@@ -493,7 +493,7 @@ dropped."
(account ledger-acct)
(inhibit-read-only t)
cleared)
- (when (equal (car where) "<stdin>")
+ (when (or (equal (car where) "<stdin>") (equal (car where) "/dev/stdin"))
(with-current-buffer ledger-buf
(goto-char (cdr where))
(setq cleared (ledger-toggle-current 'pending)))
@@ -532,7 +532,7 @@ dropped."
(defun ledger-reconcile-delete ()
(interactive)
(let ((where (get-text-property (point) 'where)))
- (when (equal (car where) "<stdin>")
+ (when (or (equal (car where) "<stdin>") (equal (car where) "/dev/stdin"))
(with-current-buffer ledger-buf
(goto-char (cdr where))
(ledger-delete-current-entry))
@@ -544,7 +544,7 @@ dropped."
(defun ledger-reconcile-visit ()
(interactive)
(let ((where (get-text-property (point) 'where)))
- (when (equal (car where) "<stdin>")
+ (when (or (equal (car where) "<stdin>") (equal (car where) "/dev/stdin"))
(switch-to-buffer-other-window ledger-buf)
(goto-char (cdr where)))))
@@ -567,7 +567,7 @@ dropped."
(let ((where (get-text-property (point) 'where))
(face (get-text-property (point) 'face)))
(if (and (eq face 'bold)
- (equal (car where) "<stdin>"))
+ (or (equal (car where) "<stdin>") (equal (car where) "/dev/stdin")))
(with-current-buffer ledger-buf
(goto-char (cdr where))
(ledger-toggle-current 'cleared))))