changeset 4758:9331a313e498

(diary-syntax-table): Make sure that we use a copy of standard-syntax-table, and not the table itself.
author Brian Fox <bfox@gnu.org>
date Tue, 21 Sep 1993 07:06:16 +0000
parents c21680a58d1e
children 5ca1f3073ffc
files lisp/=diary-lib.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/=diary-lib.el	Tue Sep 21 07:00:37 1993 +0000
+++ b/lisp/=diary-lib.el	Tue Sep 21 07:06:16 1993 +0000
@@ -104,8 +104,7 @@
 No diary entry if there is no sunset on that date."
   t)
 
-(defvar diary-syntax-table
-  (standard-syntax-table)
+(defvar diary-syntax-table (copy-syntax-table (standard-syntax-table))
   "The syntax table used when parsing dates in the diary file.
 It is the standard syntax table used in Fundamental mode, but with the
 syntax of `*' changed to be a word constituent.")