changeset 54757:8c93a61e3b54

(diary-mode, fancy-diary-display-mode): Derive from fundamental-mode rather than text-mode.
author Glenn Morris <rgm@gnu.org>
date Thu, 08 Apr 2004 16:22:43 +0000
parents 547964d81317
children 1a0683326406
files lisp/calendar/diary-lib.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/diary-lib.el	Thu Apr 08 16:21:43 2004 +0000
+++ b/lisp/calendar/diary-lib.el	Thu Apr 08 16:22:43 2004 +0000
@@ -1727,13 +1727,13 @@
      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)