(flyspell-post-command-hook): Do nothing unless flyspell-mode is enabled.
[bpt/emacs.git] / lisp / nxml / nxml-uchnm.el
index b9ceb50..64aae51 100644 (file)
@@ -1,6 +1,6 @@
 ;;; nxml-uchnm.el --- support for Unicode standard cha names in nxml-mode
 
-;; Copyright (C) 2003, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2003, 2007, 2008, 2009 Free Software Foundation, Inc.
 
 ;; Author: James Clark
 ;; Keywords: XML
     )
   "List of Unicode blocks.
 For each block there is a list (NAME FIRST LAST), where
-NAME is a string giving the offical name of the block,
+NAME is a string giving the official name of the block,
 FIRST is the first code-point and LAST is the last code-point.
 Blocks containing only characters with algorithmic names or no names
 are omitted.")
 
 (defun nxml-unicode-block-char-name-set (name)
-  "Return a symbol for a block whose offical Unicode name is NAME.
+  "Return a symbol for a block whose official Unicode name is NAME.
 The symbol is generated by downcasing and replacing each space
 by a hyphen."
   (intern (replace-regexp-in-string " " "-" (downcase name))))
@@ -209,7 +209,7 @@ by a hyphen."
       nxml-unicode-blocks)
 
 ;; Internal flag to control whether customize reloads the character tables.
-;; Should be set the first time the 
+;; Should be set the first time the
 (defvar nxml-internal-unicode-char-name-sets-enabled nil)
 
 (defcustom nxml-enabled-unicode-blocks nxml-enabled-unicode-blocks-default