Skip to content

Commit

Permalink
Merge pull request #1 from d5884/fix-navbar-buffer-name-on-ntemacs
Browse files Browse the repository at this point in the history
Fix regexp in navbar-buffer-name for NTEmacs(compiled on mingw).
  • Loading branch information
papaeye committed Apr 17, 2015
2 parents 2832076 + 3450fc7 commit 976c336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion navbar.el
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ Also, this runs :deinitialize functions without updating the navbar buffer."
(defun navbar-buffer-name (&optional frame)
(let ((string (prin1-to-string (or frame (selected-frame)))))
;; Match the frame address in core
(string-match " \\(0x[^ ]+\\)>\\'" string)
(string-match " \\([^ ]+\\)>\\'" string)
(concat " *navbar " (match-string 1 string) "*")))

(defun navbar-buffer (&optional frame)
Expand Down

0 comments on commit 976c336

Please sign in to comment.