Skip to content

Commit

Permalink
Derive from fundamental-mode instead of prog-mode.
Browse files Browse the repository at this point in the history
prog-mode isn't supported on Emacs 23 or below. Let's just abandon it
instead of implementing weird hacks.

Closes #2.

Signed-off-by: Austin Seipp <[email protected]>
  • Loading branch information
thoughtpolice committed Mar 29, 2013
1 parent 098f760 commit 9dc0075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cryptol-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@

;; Major mode for cryptol code
;;;###autoload
(define-derived-mode cryptol-mode prog-mode "Cryptol"
(define-derived-mode cryptol-mode fundamental-mode "Cryptol"
"Major mode for editing Cryptol code."

;; Syntax highlighting
Expand All @@ -304,7 +304,7 @@

;; Major mode for literate cryptol code
;;;###autoload
(define-derived-mode literate-cryptol-mode prog-mode "Literate Cryptol"
(define-derived-mode literate-cryptol-mode fundamental-mode "Literate Cryptol"
"Major mode for editing Literate Cryptol code."

;; Syntax highlighting
Expand Down

0 comments on commit 9dc0075

Please sign in to comment.