Skip to content

Commit

Permalink
Merge pull request #717 from ayanamists/master
Browse files Browse the repository at this point in the history
coq/coq-mode.el: Change the definition of 'coq--parent-mode
  • Loading branch information
Matafou authored Jan 19, 2024
2 parents 43285bd + 499d682 commit 35d5efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coq/coq-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ Near here means PT is either inside or just aside of a comment."
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.v\\'" . coq-mode))

(defun coq--parent-mode ()
(if coq-use-pg (proof-mode) (prog-mode)))
(defalias 'coq--parent-mode
(if coq-use-pg 'proof-mode 'prog-mode))

;;;###autoload
(define-derived-mode coq-mode coq--parent-mode "Coq"
Expand Down

0 comments on commit 35d5efa

Please sign in to comment.