1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00

(diary-mode, fancy-diary-display-mode): Derive from fundamental-mode

rather than text-mode.
This commit is contained in:
Glenn Morris 2004-04-08 16:22:43 +00:00
parent 79b429810c
commit 4fcf2701b8

View File

@ -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)