emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/corfu-popup eb4106aa5a 22/26: Add corfu-popup.el for backw


From: ELPA Syncer
Subject: [nongnu] elpa/corfu-popup eb4106aa5a 22/26: Add corfu-popup.el for backward compatibility
Date: Sun, 22 May 2022 12:58:16 -0400 (EDT)

branch: elpa/corfu-popup
commit eb4106aa5a103e2ad52b8dd2f2803f5dacecf850
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Add corfu-popup.el for backward compatibility
---
 corfu-popup.el    | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 corfu-terminal.el |  2 +-
 2 files changed, 51 insertions(+), 1 deletion(-)

diff --git a/corfu-popup.el b/corfu-popup.el
new file mode 100644
index 0000000000..e1a907481b
--- /dev/null
+++ b/corfu-popup.el
@@ -0,0 +1,50 @@
+;;; corfu-popup.el --- Corfu popup on terminal -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2022 Akib Azmain Turja.
+
+;; Author: Akib Azmain Turja <akib@disroot.org>
+;; Created: 2022-04-11
+;; Version: 0.1
+;; Package-Requires: ((emacs "26.1") (corfu "0.23") (popon "0"))
+;; Keywords: convenience
+;; Homepage: https://codeberg.org/akib/emacs-corfu-terminal
+
+;; This file is not part of GNU Emacs.
+
+;; This file is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 3, or (at your option)
+;; any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; For a full copy of the GNU General Public License
+;; see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; `corfu-popup' is now `corfu-terminal'.  This file is now obsolete and
+;; only provided for backward compatibility, please install and use
+;; corfu-terminal instead.
+
+;;; Code:
+
+(require 'corfu-terminal)
+
+(display-warning
+ 'corfu-terminal
+ "`corfu-popup' is now `corfu-terminal'.  This file (`corfu-popup') is now\
+ obsolete and only provided for backward compatibility, please replace all\
+ references of `corfu-popup' with `corfu-terminal'.")
+
+(define-obsolete-variable-alias 'corfu-popup-position-right-margin
+  'corfu-terminal-position-right-margin "0.1")
+
+(define-obsolete-function-alias 'corfu-popup-mode 'corfu-terminal-mode
+  "0.1")
+
+(provide 'corfu-popup)
+;;; corfu-popup.el ends here
diff --git a/corfu-terminal.el b/corfu-terminal.el
index 99bf3629a7..9f7571a0d8 100644
--- a/corfu-terminal.el
+++ b/corfu-terminal.el
@@ -1,4 +1,4 @@
-;;; corfu-terminal.el --- Corfu popup on terminal -*- lexical-binding: t -*-
+;;; corfu-terminal.el --- Corfu popup on terminal -*- lexical-binding: t; -*-
 
 ;; Copyright (C) 2022 Akib Azmain Turja.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]