diff options
| author | Brian Fox | 1993-09-21 07:06:16 +0000 |
|---|---|---|
| committer | Brian Fox | 1993-09-21 07:06:16 +0000 |
| commit | 4f7198840590049feed6db54ee787b4abb452458 (patch) | |
| tree | 7a8ea5f73eeb71e3b2814b041104701af0c7ad06 | |
| parent | a72ba9295c622f71da2b7524f14ca4d9dd7f5106 (diff) | |
| download | emacs-4f7198840590049feed6db54ee787b4abb452458.tar.gz emacs-4f7198840590049feed6db54ee787b4abb452458.zip | |
(diary-syntax-table): Make sure that we use a copy of
standard-syntax-table, and not the table itself.
| -rw-r--r-- | lisp/diary-lib.el | 3 |
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'." | |||
| 104 | No diary entry if there is no sunset on that date." | 104 | No diary entry if there is no sunset on that date." |
| 105 | t) | 105 | t) |
| 106 | 106 | ||
| 107 | (defvar diary-syntax-table | 107 | (defvar diary-syntax-table (copy-syntax-table (standard-syntax-table)) |
| 108 | (standard-syntax-table) | ||
| 109 | "The syntax table used when parsing dates in the diary file. | 108 | "The syntax table used when parsing dates in the diary file. |
| 110 | It is the standard syntax table used in Fundamental mode, but with the | 109 | It is the standard syntax table used in Fundamental mode, but with the |
| 111 | syntax of `*' changed to be a word constituent.") | 110 | syntax of `*' changed to be a word constituent.") |