summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorBrian Fox <bfox@gnu.org>1993-09-21 07:06:16 +0000
committerBrian Fox <bfox@gnu.org>1993-09-21 07:06:16 +0000
commit8c001506159dda477d30aa739276b98ccd205aea (patch)
tree3b58922e3330b9db3adfa1b03d6e6dc4398521b3 /lisp
parent9fea1bfd356cacdeb199e9b02483fbe10b377024 (diff)
downloademacs-8c001506159dda477d30aa739276b98ccd205aea.tar.gz
(diary-syntax-table): Make sure that we use a copy of
standard-syntax-table, and not the table itself.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/=diary-lib.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/=diary-lib.el b/lisp/=diary-lib.el
index d1b0255d73d..65a5af638af 100644
--- a/lisp/=diary-lib.el
+++ b/lisp/=diary-lib.el
@@ -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.")