summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-04-14 20:15:15 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-04-14 20:15:15 -0400
commit71d6c6353ea110f549513eba3b37707db5d8b013 (patch)
treee83492c836efa6197d6215f3b1ada4034eb9551f /.emacs
parent7012f13bc2cf2af18f0ea251136fa5a6c3420444 (diff)
Fiddle with .profile, add a v-www-browser script, configure browse-url in .emacs
Move login-stuff from `.bashrc' to `.profile', which loads `.bashrc' if it is a bash shell (hopefully). Add `.Xsession', wich includes `.profile'. `bin/v-www-browser' (technically not a dotfile), is a script that loads either www-browser or x-www-browser, depending on if we're using X11 or not (really, whether $DISPLAY is set). `.emacs' was edited to have browse-url run v-www-browser instead of www-browser.
Diffstat (limited to '.emacs')
-rw-r--r--.emacs6
1 files changed, 4 insertions, 2 deletions
diff --git a/.emacs b/.emacs
index cac63f7..9b8ef7a 100644
--- a/.emacs
+++ b/.emacs
@@ -45,6 +45,9 @@
(load "folding" 'nomessage 'noerror)
(folding-mode-add-find-file-hook)
+(setq browse-url-generic-program (executable-find "v-www-browser")
+ browse-url-browser-function 'browse-url-generic)
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@@ -61,5 +64,4 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
- '(default ((t (:inherit default :height 80))))
-)
+ '(default ((t (:inherit default :height 80)))))