Skip to content

Commit

Permalink
fixed regex typo
Browse files Browse the repository at this point in the history
  • Loading branch information
titaniumbones committed Nov 25, 2015
1 parent e1f70b2 commit 8f66629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion org-pdfview.el
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

(defun org-pdfview-open (link)
"Open LINK in pdf-view-mode."
(cond ((string-match "\\(.*\\)::\\([0-9]\\)*\\+\\+\\([[0-9]\\.*[0-9]*\\)" link)
(cond ((string-match "\\(.*\\)::\\([0-9]*\\)\\+\\+\\([[0-9]\\.*[0-9]*\\)" link)
(let* ((path (match-string 1 link))
(page (string-to-number (match-string 2 link)))
(height (string-to-number (match-string 3 link))))
Expand Down

0 comments on commit 8f66629

Please sign in to comment.