]> git.eshelyaron.com Git - emacs.git/commitdiff
(diary-syntax-table): Make sure that we use a copy of
authorBrian Fox <bfox@gnu.org>
Tue, 21 Sep 1993 07:06:16 +0000 (07:06 +0000)
committerBrian Fox <bfox@gnu.org>
Tue, 21 Sep 1993 07:06:16 +0000 (07:06 +0000)
standard-syntax-table, and not the table itself.

lisp/diary-lib.el

index d1b0255d73df8570600afd424c587108a9bd006d..65a5af638af308ea558d82b22bddcb51fbac20e4 100644 (file)
@@ -104,8 +104,7 @@ The holidays are those in the list `calendar-holidays'."
 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.")