Skip to content

Commit

Permalink
Error message fix in `describe-specified-language-support'
Browse files Browse the repository at this point in the history
* international/mule-cmds.el
(describe-specified-language-support): Make the error message
clearer (bug#8905).
  • Loading branch information
larsmagne committed Jul 15, 2011
1 parent 064e2d0 commit 3aa5f34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lisp/ChangeLog
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lisp/international/mule-cmds.el
Expand Up @@ -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)
Expand Down

0 comments on commit 3aa5f34

Please sign in to comment.