[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/corfu-popup 359e2e9849 26/26: Remove unused macro
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/corfu-popup 359e2e9849 26/26: Remove unused macro |
Date: |
Sun, 22 May 2022 12:58:17 -0400 (EDT) |
branch: elpa/corfu-popup
commit 359e2e984953631f5831f7ed97b03f27b646824a
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Remove unused macro
---
corfu-terminal.el | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/corfu-terminal.el b/corfu-terminal.el
index c55a61c300..669f7819c1 100644
--- a/corfu-terminal.el
+++ b/corfu-terminal.el
@@ -205,26 +205,6 @@ definition in Corfu."
Same as `always' function of Emacs 28."
t)
-(defmacro corfu-terminal--patch-out-display-graphic-p (fn name)
- "Patch out `display-graphic-p' in FN and define NAME to that definition."
- (let* ((vc-follow-symlinks t)
- (definition (let ((position (find-function-noselect fn)))
- (with-current-buffer (car position)
- (save-excursion
- (goto-char (cdr position))
- (read (current-buffer)))))))
- (setf (nth 1 definition) name)
- (cl-labels ((patch-out
- (form)
- (cond
- ((equal form '(display-graphic-p))
- t)
- ((proper-list-p form)
- (mapcar #'patch-out form))
- (t
- form))))
- (patch-out definition))))
-
;;;###autoload
(define-minor-mode corfu-terminal-mode
"Corfu popup on terminal."
- [nongnu] elpa/corfu-popup 03b5c7a74c 14/26: Update terminal screenshots, (continued)
- [nongnu] elpa/corfu-popup 03b5c7a74c 14/26: Update terminal screenshots, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 9e1e2d3f04 16/26: Lower required Emacs version, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 0b2fd81ac0 17/26: Remove obsolete use of define-minor-mode, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 3a8e98a982 21/26: Rename corfu-popup to corfu-terminal, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 59730db33b 23/26: Don't ship images in packages, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 323a92088c 20/26: Fix popon breaking when right fringe is zero on graphical display (#3), ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup fcb35a8c45 24/26: Add user option to disable on GUI, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 2b4a7d7d16 18/26: Remove hardcoded popon height, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup eb4106aa5a 22/26: Add corfu-popup.el for backward compatibility, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup aaaaea5932 25/26: Use new integration strategy, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 359e2e9849 26/26: Remove unused macro,
ELPA Syncer <=
- [nongnu] elpa/corfu-popup fabfd00ff8 15/26: Update README as kind-icon no longer causes problem, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 4ce83ab8bd 19/26: Fix #3: Keep popon within the visible part of window, ELPA Syncer, 2022/05/22