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:
parent
121d878a0c
commit
b133e16fb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue