Fix ledger-reconcile-visit.

Removes a (apparently) un-necessary check on the car of the 'where'
text property, and instead checks that the cdr is a valid marker
object. May not be the correct fix for this problem, but *does* work.
This commit is contained in:
Paul Lathrop 2012-03-05 14:13:24 -08:00
parent 121d878a0c
commit b133e16fb3

View file

@ -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)))))