simplify utop-compat-resolve

No need to try loading one of the major mode as utop-mode is now a
minor mode and has to be used in conjunction with the current major
mode of the buffer.
This commit is contained in:
Jeremie Dimino 2015-01-12 09:36:54 +00:00
parent 0d606f6dae
commit 1fa1b1f0b3
1 changed files with 0 additions and 6 deletions

View File

@ -245,12 +245,6 @@ Caml toplevel")
(intern (concat "typerex-" symbol)))
((eq major-mode 'caml-mode)
(intern (concat "caml-" symbol)))
((require 'tuareg nil t)
(intern (concat "tuareg-" symbol)))
((require 'typerex nil t)
(intern (concat "typerex-" symbol)))
((require 'caml nil t)
(intern (concat "caml-" symbol)))
(error (concat "unsupported mode: " (symbol-name major-mode) ", utop support only caml, tuareg and typerex modes"))))
(defun compat-skip-blank-and-comments ()