* textmodes/flyspell.el (nxml-mode): Add the right.
authorBastien Guerry <bzg@altern.org>
Fri, 14 Mar 2008 10:13:30 +0000 (10:13 +0000)
committerBastien Guerry <bzg@altern.org>
Fri, 14 Mar 2008 10:13:30 +0000 (10:13 +0000)
`flyspell-mode-predicate'.

* wid-edit.el (link): Use 'mouse-face for :follow-link.

lisp/ChangeLog
lisp/textmodes/flyspell.el
lisp/wid-edit.el

index 53382fb..0ccb471 100644 (file)
@@ -1,3 +1,10 @@
+2008-03-14  Bastien Guerry  <bzg@altern.org>
+
+       * textmodes/flyspell.el (nxml-mode): Add the right.
+       `flyspell-mode-predicate'.
+
+       * wid-edit.el (link): Use 'mouse-face for :follow-link.
+
 2008-03-14  Glenn Morris  <rgm@gnu.org>
 
        * calendar/solar.el: Reorder so that functions are defined before use.
index bba4516..131adad 100644 (file)
@@ -349,6 +349,7 @@ property of the major mode name.")
 ;;*--- sgml mode -------------------------------------------------------*/
 (put 'sgml-mode 'flyspell-mode-predicate 'sgml-mode-flyspell-verify)
 (put 'html-mode 'flyspell-mode-predicate 'sgml-mode-flyspell-verify)
+(put 'nxml-mode 'flyspell-mode-predicate 'sgml-mode-flyspell-verify)
 
 (defun sgml-mode-flyspell-verify ()
   "Function used for `flyspell-generic-check-word-predicate' in SGML mode."
index 26c77e1..7e89f00 100644 (file)
@@ -1773,7 +1773,7 @@ If END is omitted, it defaults to the length of LIST."
   "An embedded link."
   :button-prefix 'widget-link-prefix
   :button-suffix 'widget-link-suffix
-  :follow-link "\C-m"
+  :follow-link 'mouse-face
   :help-echo "Follow the link."
   :format "%[%t%]")