ui/posframe: less disruptive emacs version warnings; use constants

This commit is contained in:
Henrik Lissner
2018-03-24 04:41:10 -04:00
parent 5eadfdc880
commit 988e70683e
3 changed files with 8 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; ui/posframe/doctor.el
(when (version< emacs-version "26")
(unless EMACS26+
(error! "This module doesn't work in Emacs %s (minimum: Emacs 26)" emacs-version))