[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/popup a651fa0 090/184: Merge pull request #59 from auto-co
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/popup a651fa0 090/184: Merge pull request #59 from auto-complete/add-unstrip-parameter |
Date: |
Wed, 6 Oct 2021 00:01:18 -0400 (EDT) |
branch: elpa/popup
commit a651fa0bf412a74659feb30162941fc1b8969048
Merge: de70ea8 7817f1e
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>
Merge pull request #59 from auto-complete/add-unstrip-parameter
Add 'nostrip' parameter to 'popup-tip'(#42)
---
README.md | 6 ++++--
popup.el | 7 +++++--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index f1bbbf0..f4b1814 100644
--- a/README.md
+++ b/README.md
@@ -246,17 +246,19 @@ something about what cursor points to.
popup-tip string &key point around width height min-height
truncate margin margin-left margin-right scroll-bar parent
- parent-offset nowait prompt
+ parent-offset nowait nostrip prompt
Show a tooltip with message `STRING` at `POINT`. This function is
synchronized unless `NOWAIT` specified. Almost all arguments are same as
-`popup-create` except for `TRUNCATE`, `NOWAIT`, and `PROMPT`.
+`popup-create` except for `TRUNCATE`, `NOWAIT`, `NOSTRIP` and `PROMPT`.
If `TRUNCATE` is non-nil, the tooltip can be truncated.
If `NOWAIT` is non-nil, this function immediately returns the tooltip
instance without entering event loop.
+If `NOSTRIP` is non-nil, `STRING` properties are not stripped.
+
`PROMPT` is a prompt string used when reading events during the event
loop.
diff --git a/popup.el b/popup.el
index b1f8f2e..74f3faa 100644
--- a/popup.el
+++ b/popup.el
@@ -1004,6 +1004,7 @@ HELP-DELAY is a delay of displaying helps."
parent
parent-offset
nowait
+ nostrip
prompt
&aux tip lines)
"Show a tooltip of STRING at POINT. This function is
@@ -1018,8 +1019,10 @@ tooltip instance without entering event loop.
PROMPT is a prompt string when reading events during event loop."
(if (bufferp string)
(setq string (with-current-buffer string (buffer-string))))
- ;; TODO strip text (mainly face) properties
- (setq string (substring-no-properties string))
+
+ (unless nostrip
+ ;; TODO strip text (mainly face) properties
+ (setq string (substring-no-properties string)))
(and (eq margin t) (setq margin 1))
(or margin-left (setq margin-left margin))
- [nongnu] elpa/popup 982f4ec 108/184: Untabify, (continued)
- [nongnu] elpa/popup 982f4ec 108/184: Untabify, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 8ca9644 091/184: Delete trailing spaces, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 2af1c6c 129/184: Update copyright, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 730b408 113/184: Ignore byte-compiled files, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 46632ab 134/184: Merge pull request #93 from auto-complete/fix-for-24.5, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 91285c2 140/184: Update document about customize variables, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 441ee40 152/184: Merge pull request #107 from danrharms/master, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 8eee9c5 148/184: Merge pull request #101 from auto-complete/needless-quote, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 4265237 164/184: Fixed compatible to display line numbers mode in Emacs 26.1 or after., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 5e9043e 032/184: Bug fix for test helper, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup a651fa0 090/184: Merge pull request #59 from auto-complete/add-unstrip-parameter,
ELPA Syncer <=
- [nongnu] elpa/popup de70ea8 088/184: Merge pull request #56 from ryantm/cl-lib, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 140f12d 122/184: Update Installation section, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 80829dd 154/184: Fix for newer Cask directory hierarchy, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup df4b147 159/184: Removed looking for new maintainer., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 0eeb16d 160/184: Merge pull request #113 from EdwardBetts/spelling, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 2d3226a 169/184: Comment indentation., ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup fa96fe6 155/184: Count only visible lines for popup direction, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 24619f5 183/184: Merge pull request #126 from phst/mapcar, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup 416049d 179/184: Fix non displayable character, ELPA Syncer, 2021/10/06
- [nongnu] elpa/popup e2eb047 126/184: svg is better than png, ELPA Syncer, 2021/10/06