summaryrefslogtreecommitdiffstats
path: root/emacs.d/00-functions.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/00-functions.el')
-rw-r--r--emacs.d/00-functions.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/00-functions.el b/emacs.d/00-functions.el
index ff493f0..20d75ff 100644
--- a/emacs.d/00-functions.el
+++ b/emacs.d/00-functions.el
@@ -34,3 +34,7 @@
(if (string= (substring ext 0 1) "c")
(find-file (concat noext ".h"))
(find-file (concat noext ".c")))))
+
+(defun browse-to-current-file ()
+ (interactive)
+ (browse-url buffer-file-name))