From 4fcf2701b84b12b014f7b049faa81be5b01eb4ca Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 8 Apr 2004 16:22:43 +0000 Subject: [PATCH] (diary-mode, fancy-diary-display-mode): Derive from fundamental-mode rather than text-mode. --- lisp/calendar/diary-lib.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index f79a217cc32..eba932847c0 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el @@ -1727,13 +1727,13 @@ Prefix arg will make the entry nonmarking." arg))) ;;;###autoload -(define-derived-mode diary-mode text-mode +(define-derived-mode diary-mode fundamental-mode "Diary" "Major mode for editing the diary file." (set (make-local-variable 'font-lock-defaults) '(diary-font-lock-keywords t))) -(define-derived-mode fancy-diary-display-mode text-mode +(define-derived-mode fancy-diary-display-mode fundamental-mode "Diary" "Major mode used while displaying diary entries using Fancy Display." (set (make-local-variable 'font-lock-defaults) -- 2.39.5