summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/goto-addr.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el
index 8c2c3a22966..b082c1496d4 100644
--- a/lisp/net/goto-addr.el
+++ b/lisp/net/goto-addr.el
@@ -157,6 +157,8 @@ A value of t means there is no limit--fontify regardless of the size."
(if (overlay-get overlay 'goto-address)
(delete-overlay overlay))))
+(defvar goto-address-prog-mode)
+
(defun goto-address-fontify ()
"Fontify the URLs and e-mail addresses in the current buffer.
This function implements `goto-address-highlight-p'