From: Glenn Morris Date: Thu, 8 Apr 2004 16:22:43 +0000 (+0000) Subject: (diary-mode, fancy-diary-display-mode): Derive from fundamental-mode X-Git-Tag: ttn-vms-21-2-B4~6932 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4fcf2701b84b12b014f7b049faa81be5b01eb4ca;p=emacs.git (diary-mode, fancy-diary-display-mode): Derive from fundamental-mode rather than text-mode. --- 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)