summaryrefslogtreecommitdiff
path: root/elisp/geiser-base.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2016-06-17 18:54:35 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2016-06-17 18:54:35 +0200
commit8c8583991007aa3a1831310be5d637104a918a43 (patch)
treed24cfadca91911105373ab806d825250d77779e4 /elisp/geiser-base.el
parent620f0d039afb7450fb7b27ee953129f7597e61ea (diff)
downloadgeiser-guile-8c8583991007aa3a1831310be5d637104a918a43.tar.gz
geiser-guile-8c8583991007aa3a1831310be5d637104a918a43.tar.bz2
Be in good terms with haskell-mode
Avoid redefining font-lock-ensure, so that haskell-mode doesn't get mad at us. Should close github's #164.
Diffstat (limited to 'elisp/geiser-base.el')
-rw-r--r--elisp/geiser-base.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/elisp/geiser-base.el b/elisp/geiser-base.el
index ee30770..aefff5f 100644
--- a/elisp/geiser-base.el
+++ b/elisp/geiser-base.el
@@ -27,14 +27,6 @@
(let ((inhibit-changing-match-data t))
(looking-at regexp))))
-(when (not (fboundp 'font-lock-ensure))
- (defun font-lock-ensure (&optional beg end)
- (with-no-warnings (font-lock-fontify-region (or beg (point-min))
- (or end (point-max))))))
-
-(when (not (fboundp 'font-lock-flush))
- (defun font-lock-flush (&optional beg end)))
-
;;; Utilities:
(defsubst geiser--chomp (str)