summaryrefslogtreecommitdiff
path: root/lisp/net/goto-addr.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-04-24 06:06:53 +0000
committerGlenn Morris <rgm@gnu.org>2008-04-24 06:06:53 +0000
commit8b026efe106f29ccaa539cba0a1ac5d2b9d74cf1 (patch)
treef159aae89d68d0e585727867c7de6423e5c86f47 /lisp/net/goto-addr.el
parentd4296db31f255a3973ab85d2e54962d7a205c7c3 (diff)
downloademacs-8b026efe106f29ccaa539cba0a1ac5d2b9d74cf1.tar.gz
emacs-8b026efe106f29ccaa539cba0a1ac5d2b9d74cf1.tar.bz2
emacs-8b026efe106f29ccaa539cba0a1ac5d2b9d74cf1.zip
(goto-address-prog-mode): Declare for compiler.
Diffstat (limited to 'lisp/net/goto-addr.el')
-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'