Add EMACS26+ & EMACS27+ constants

This commit is contained in:
Henrik Lissner 2018-03-24 04:40:24 -04:00
parent b5db4f1fb6
commit 5eadfdc880
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 7 additions and 4 deletions

View file

@ -1,6 +1,6 @@
;;; feature/popup/autoload.el -*- lexical-binding: t; -*-
(defvar +popup--populate-wparams (version< emacs-version "26.1"))
(defvar +popup--populate-wparams (not EMACS26+))
(defun +popup--remember (windows)
"Remember WINDOWS (a list of windows) for later restoration."
@ -423,7 +423,7 @@ prevent the popup(s) from messing up the UI (or vice versa)."
;; Popup actions
;;
(when (version< emacs-version "26")
(unless EMACS26+
(defvar window-sides-reversed nil)
(defun window--sides-reverse-on-frame-p (frame)