]> code.delx.au - gnu-emacs/blobdiff - lisp/case-table.el
(desktop-load-file): Do nothing when FUNCTION is nil.
[gnu-emacs] / lisp / case-table.el
index 77ebe857ff2bc870dd4a3622b598672e1559d5d3..4dfdd0538fb3505743046562eb0fa36741495836 100644 (file)
@@ -1,6 +1,7 @@
 ;;; case-table.el --- code to extend the character set and support case tables
 
-;; Copyright (C) 1988, 1994, 2005 Free Software Foundation, Inc.
+;; Copyright (C) 1988, 1994, 2002, 2003, 2004,
+;;   2005 Free Software Foundation, Inc.
 
 ;; Author: Howard Gayle
 ;; Maintainer: FSF
@@ -20,8 +21,8 @@
 
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
 
 ;;; Commentary:
 
@@ -140,6 +141,7 @@ It also modifies `standard-syntax-table' to give them the syntax of
 word constituents."
   (setq uc (set-case-syntax-1 uc))
   (setq lc (set-case-syntax-1 lc))
+  (aset table lc lc)
   (let ((up (get-upcase-table table)))
     (aset up uc uc)
     (aset up lc uc))
@@ -158,6 +160,8 @@ word constituents."
   (setq lc (set-case-syntax-1 lc))
   (aset table uc lc)
   (aset table lc lc)
+  (let ((up (get-upcase-table table)))
+    (aset up uc uc))
   ;; Clear out the extra slots so that they will be
   ;; recomputed from the main (downcase) table and upcase table.
   (set-char-table-extra-slot table 1 nil)