]> git.eshelyaron.com Git - emacs.git/commitdiff
(diary-mode, fancy-diary-display-mode): Derive from fundamental-mode
authorGlenn Morris <rgm@gnu.org>
Thu, 8 Apr 2004 16:22:43 +0000 (16:22 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 8 Apr 2004 16:22:43 +0000 (16:22 +0000)
rather than text-mode.

lisp/calendar/diary-lib.el

index f79a217cc322e9f88621781743cab48b337cd9c3..eba932847c056be832ee19f172b26d6129398057 100644 (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)