]> git.eshelyaron.com Git - emacs.git/commitdiff
(flyspell-define-abbrev): Downcase abbrev before defining it.
authorGlenn Morris <rgm@gnu.org>
Sun, 22 Apr 2007 00:22:14 +0000 (00:22 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 22 Apr 2007 00:22:14 +0000 (00:22 +0000)
lisp/ChangeLog
lisp/textmodes/flyspell.el

index 15b8105e428114ce73cc2e2d944cf0833a0892b0..0855c8a82188a43c501eaa5bce5a22d6bc672a4d 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-22  Glenn Morris  <rgm@gnu.org>
+
+       * textmodes/flyspell.el (flyspell-define-abbrev): Downcase abbrev
+       before defining it.
+
 2007-04-21  Martin Rudalics  <rudalics@gmx.at>
 
        * progmodes/cc-mode.el
index 339160db9bdb3b0e549d70db34f337702e8f6087..185f2e8dea34803459017d640e495206add5b83c 100644 (file)
@@ -1827,7 +1827,7 @@ misspelled words backwards."
 (defun flyspell-define-abbrev (name expansion)
   (let ((table (flyspell-abbrev-table)))
     (when table
-      (define-abbrev table name expansion))))
+      (define-abbrev table (downcase name) expansion))))
 
 ;;*---------------------------------------------------------------------*/
 ;;*    flyspell-auto-correct-word ...                                   */