Last active
May 23, 2016 12:16
-
-
Save ryoakg/7a88ae54b8e389e94f65 to your computer and use it in GitHub Desktop.
HTMLとか編集しているときに確認する用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun browse-current-buffer-file () | |
(interactive) | |
(let ((b (buffer-file-name))) | |
(if b | |
(browse-url b) | |
(message "This buffer is not associated with a file.")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment