Enable 'goto-address-mode' in 'term-mode'.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 30 Jul 2013 22:48:54 +0300
changeset 1062 c1cac6e85f9b
parent 1061 506ee5aebe22
child 1064 17fd4410d0f1
child 1065 0827d8cec487
Enable 'goto-address-mode' in 'term-mode'.
.emacs-my
--- a/.emacs-my	Sun Jul 21 00:12:20 2013 +0300
+++ b/.emacs-my	Tue Jul 30 22:48:54 2013 +0300
@@ -410,6 +410,10 @@
     (define-key term-raw-map [M-left] 'my-term-send-m-left)
     ))
 
+(defun my-term-mode-hook ()
+  (goto-address-mode 1))
+(add-hook 'term-mode-hook #'my-term-mode-hook)
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "whitespaces")