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

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

[elpa] externals/drepl f0e87367b3 02/10: Make prompt faces inherit from


From: ELPA Syncer
Subject: [elpa] externals/drepl f0e87367b3 02/10: Make prompt faces inherit from default
Date: Tue, 7 Nov 2023 03:58:04 -0500 (EST)

branch: externals/drepl
commit f0e87367b30495cf02f1a94a64efdf99f25f6640
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>

    Make prompt faces inherit from default
    
    This is so that they don't get merged with the comint-highlight-input
    face.
---
 drepl.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drepl.el b/drepl.el
index 07aad97cfe..8ce596178e 100644
--- a/drepl.el
+++ b/drepl.el
@@ -35,11 +35,11 @@
   :group 'comint
   :link '(url-link "https://github.com/astoff/drepl";))
 
-(defface drepl-prompt-incomplete '((t :inherit comint-highlight-prompt))
-  "Face for continuation prompts when current input is valid.")
+(defface drepl-prompt-incomplete '((t :inherit (comint-highlight-prompt 
default)))
+  "Face for continuation prompts when input is incomplete but valid.")
 
-(defface drepl-prompt-invalid '((t :inherit error))
-  "Face for continuation prompts when current input is invalid.")
+(defface drepl-prompt-invalid '((t :inherit (error default)))
+  "Face for continuation prompts when input is invalid.")
 
 (defvar-local drepl--current nil
   "dREPL associated to the current buffer.")



reply via email to

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