summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ledger.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ledger.el b/lisp/ledger.el
index 1c8aade3..30677f1c 100644
--- a/lisp/ledger.el
+++ b/lisp/ledger.el
@@ -545,7 +545,7 @@ dropped."
(defun ledger-reconcile-visit ()
(interactive)
(let ((where (get-text-property (point) 'where)))
- (when (or (equal (car where) "<stdin>") (equal (car where) "/dev/stdin"))
+ (when (markerp (cdr where))
(switch-to-buffer-other-window ledger-buf)
(goto-char (cdr where)))))