]> git.eshelyaron.com Git - emacs.git/commitdiff
Error message fix in `describe-specified-language-support'
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 15 Jul 2011 14:24:09 +0000 (16:24 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 15 Jul 2011 14:24:09 +0000 (16:24 +0200)
* international/mule-cmds.el
(describe-specified-language-support): Make the error message
clearer (bug#8905).

lisp/ChangeLog
lisp/international/mule-cmds.el

index c315d6a2ff3a2d76a9da9a949fc1c6ca4dcddfee..3f32e44beb28455d31a4488e0429fde322cc3867 100644 (file)
@@ -1,5 +1,9 @@
 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * international/mule-cmds.el
+       (describe-specified-language-support): Make the error message
+       clearer (bug#8905).
+
        * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
 
        * isearch.el (isearch-barrier): Add a doc string, since it's
index 6a73aaaa838747751478a045301d62bd7f939523..128fb86b7b46c7d33ec12eec61249a1f537f62c3 100644 (file)
@@ -2059,7 +2059,7 @@ See `set-language-info-alist' for use in programs."
                  (or (not (eq last-command-event 'Default))
                      (setq last-command-event 'English))
                  (setq language-name (symbol-name last-command-event))))
-       (error "Bogus calling sequence"))
+       (error "This command should only be called from the menu bar"))
     (describe-language-environment language-name)))
 
 (defun describe-language-environment (language-name)