Skip to content

Commit

Permalink
Fix for mingus browse where it searches the latest map inside its par…
Browse files Browse the repository at this point in the history
…ent.
  • Loading branch information
niels giesen committed Jan 23, 2011
1 parent b250422 commit f94b94b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mingus.el
Original file line number Diff line number Diff line change
Expand Up @@ -3141,7 +3141,7 @@ If active region, add everything between BEG and END."
(defun mingus-browse-to-file (file)
(mingus-ls (_mingus-string->parent-dir file))
(goto-char (point-min))
(re-search-forward (file-name-nondirectory file) nil t)
(search-forward (file-name-nondirectory file) nil t)
(beginning-of-line))

(defun mingus-browse-to-dir (dir)
Expand All @@ -3163,7 +3163,7 @@ If active region, add everything between BEG and END."
(buffer-substring-no-properties (point-at-bol) (point))))
(progn
(mingus-ls "")))
(re-search-backward goal)))
(search-backward goal)))

(defun mingus-refresh ()
"Refresh view."
Expand Down

0 comments on commit f94b94b

Please sign in to comment.