Backport from trunk: doc fix.
authorKarl Fogel <kfogel@red-bean.com>
Wed, 23 Jun 2010 03:07:20 +0000 (20:07 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 23 Jun 2010 03:07:20 +0000 (20:07 -0700)
* lisp/simple.el (compose-mail): Fix doc string to refer to
`compose-mail-user-agent-warnings', instead of to the nonexistent
`compose-mail-check-user-agent'.

lisp/ChangeLog
lisp/simple.el

index c14f732..64bce4a 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-23  Karl Fogel  <kfogel@red-bean.com>
+
+       * simple.el (compose-mail): Fix doc string to refer to
+       `compose-mail-user-agent-warnings', instead of to the
+       nonexistent `compose-mail-check-user-agent'.
+
 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
 
        Fix vc-annotate for renamed files when using Git.
index 35001a6..51b33ad 100644 (file)
@@ -5669,7 +5669,7 @@ Each action has the form (FUNCTION . ARGS)."
 The default mail mode is now Message mode.
 You have the following Mail mode variable%s customized:
 \n  %s\n\nTo use Mail mode, set `mail-user-agent' to sendmail-user-agent.
-To disable this warning, set `compose-mail-check-user-agent' to nil."
+To disable this warning, set `compose-mail-user-agent-warnings' to nil."
                                    (if (> (length warn-vars) 1) "s" "")
                                    (mapconcat 'symbol-name
                                               warn-vars " "))))))