X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/e1e89a70b9a54fa5dc2365398ef4df2eb5944b2a..97b3a2143e3a556ddd42e6d3c2945c32498242f7:/lisp/case-table.el diff --git a/lisp/case-table.el b/lisp/case-table.el index 77ebe857ff..4dfdd0538f 100644 --- a/lisp/case-table.el +++ b/lisp/case-table.el @@ -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)