[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/posframe edfbff5 03/10: Add internal-border-width argum
From: |
Feng Shu |
Subject: |
[elpa] externals/posframe edfbff5 03/10: Add internal-border-width argument |
Date: |
Wed, 13 Mar 2019 08:50:25 -0400 (EDT) |
branch: externals/posframe
commit edfbff5ce5110e6d1a78bfe203fa8ec5d9d4e3ec
Author: Feng Shu <address@hidden>
Commit: Feng Shu <address@hidden>
Add internal-border-width argument
---
posframe.el | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/posframe.el b/posframe.el
index 4fd3270..f2a9e07 100644
--- a/posframe.el
+++ b/posframe.el
@@ -171,6 +171,7 @@ frame.")
left-fringe
right-fringe
internal-border-width
+ internal-border-color
font
keep-ratio
override-parameters
@@ -264,6 +265,9 @@ This posframe's buffer is POSFRAME-BUFFER."
(inhibit-double-buffering .
,posframe-inhibit-double-buffering)
;; Do not save child-frame when use desktop.el
(desktop-dont-save . t))))
+ (when internal-border-color
+ (set-face-background 'internal-border
+ internal-border-color posframe--frame))
(let ((posframe-window (frame-root-window posframe--frame)))
;; This method is more stable than 'setq mode/header-line-format nil'
(unless respect-mode-line
@@ -287,6 +291,7 @@ This posframe's buffer is POSFRAME-BUFFER."
left-fringe
right-fringe
internal-border-width
+ internal-border-color
font
foreground-color
background-color
@@ -366,8 +371,8 @@ right fringe with be showed with number width.
By default, posframe shows no border, user can let border
showed by setting INTERNAL-BORDER-WIDTH to a postive number,
-by the way, border's color is specified by the background of
-the ‘internal-border’ face.
+by the way, border's color can be specified by INTERNAL-BORDER-COLOR
+or ‘internal-border’ face.
By default, posframe's font is deriverd from current frame
user can set posframe's font with FONT argument.
@@ -445,6 +450,7 @@ you can use `posframe-delete-all' to delete all posframes."
:left-fringe left-fringe
:right-fringe right-fringe
:internal-border-width internal-border-width
+ :internal-border-color internal-border-color
:foreground-color foreground-color
:background-color background-color
:keep-ratio keep-ratio
- [elpa] externals/posframe updated (d141d56 -> 96dbc49), Feng Shu, 2019/03/13
- [elpa] externals/posframe 4a9634e 02/10: * posframe.el (posframe--create-posframe): Set truncate-lines nil, Feng Shu, 2019/03/13
- [elpa] externals/posframe edfbff5 03/10: Add internal-border-width argument,
Feng Shu <=
- [elpa] externals/posframe 2cac834 01/10: * posframe.el (posframe--create-posframe): remove left/right-margin, Feng Shu, 2019/03/13
- [elpa] externals/posframe 6c4d7ad 05/10: * posframe.el (posframe-workable-p): New function., Feng Shu, 2019/03/13
- [elpa] externals/posframe 3eaf066 04/10: * posframe.el (posframe-show): Make sure not hide buffer's content for scroll down., Feng Shu, 2019/03/13
- [elpa] externals/posframe 96dbc49 10/10: bump version 0.4.3, Feng Shu, 2019/03/13
- [elpa] externals/posframe cdce1e9 07/10: update posframe-1.png, Feng Shu, 2019/03/13
- [elpa] externals/posframe 9d24df0 08/10: update posframe-1.png again, Feng Shu, 2019/03/13
- [elpa] externals/posframe 0881088 06/10: * posframe.el (posframe-show): Add &allow-other-keys, Feng Shu, 2019/03/13
- [elpa] externals/posframe 67a782f 09/10: Update README, Feng Shu, 2019/03/13