]> code.delx.au - gnu-emacs/blobdiff - lisp/net/goto-addr.el
Merge from emacs--rel--22
[gnu-emacs] / lisp / net / goto-addr.el
index 8c2c3a22966f296d74489c6ba85c4b030a0f1d6f..e2556bdc6bbc59e00c09404eb99a6e2951998a70 100644 (file)
 
 ;; This file is part of GNU Emacs.
 
-;; GNU Emacs is free software; you can redistribute it and/or modify
+;; GNU Emacs is free software: you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 3, or (at your option)
-;; any later version.
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
 
 ;; GNU Emacs is distributed in the hope that it will be useful,
 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,9 +21,7 @@
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-;; Boston, MA 02110-1301, USA.
+;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 
 ;;; Commentary:
 
@@ -157,6 +155,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'