diff options
| -rw-r--r-- | coq/coq.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -669,14 +669,15 @@ happen since one of them is necessarily set to t in coq-syntax.el." ) -;; region-exists-p does not exist in emacs <= 22 +;; region-exists-p does not exist in some emacs (cond - ((string-match "NU Emacs 22" (emacs-version)) + ((not (featurep 'region-exists-p)) (defmacro region-exists-p nil "Returns t if the mark is active, nil otherwise." `(not (eq mark-active nil))))) + (defun coq-guess-or-ask-for-string (s &optional dontguess) (let ((guess (cond |
