[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon bf656bd333 19/22: rear-nonsticky only for \n at e
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon bf656bd333 19/22: rear-nonsticky only for \n at end of compose header. |
Date: |
Thu, 5 Oct 2023 07:00:55 -0400 (EDT) |
branch: elpa/mastodon
commit bf656bd333804622798577c6208c2648bf4ed353
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>
rear-nonsticky only for \n at end of compose header.
prevents a bug where header can be edited despite read-only, and if header
edited, it will be partially posted as toot text.
---
lisp/mastodon-toot.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 747803749a..62a53cf8e5 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -1485,11 +1485,13 @@ REPLY-TEXT is the text of the toot being replied to."
'toot-reply t)
"")
divider
- "\n")
- 'rear-nonsticky t
+ )
'face 'mastodon-toot-docs-face
'read-only "Edit your message below."
- 'toot-post-header t))))
+ 'toot-post-header t)
+ ;; allow us to enter text after read-only header:
+ (propertize "\n"
+ 'rear-nonsticky t))))
(defun mastodon-toot--most-restrictive-visibility (reply-visibility)
"Return REPLY-VISIBILITY or default visibility, whichever is more
restrictive.
- [nongnu] elpa/mastodon f4cd336db1 07/22: readme re server compat, (continued)
- [nongnu] elpa/mastodon f4cd336db1 07/22: readme re server compat, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon cada9d84d1 02/22: port fedi-http handling of POST JSON data or not, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon ccd3015d08 06/22: readme, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 10ca848cdd 08/22: add ELPA badge, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon db05397202 03/22: add mastodon-views--instance-desc-misskey. TODO merge with other inst funs, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 63f55bb016 10/22: refactor mode function, to avoid multiple addition of lambda., ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 1964ee8ad6 13/22: bump version, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 5d46e17c0b 20/22: indent -toot.el, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon d39903ddcc 17/22: bump version, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon e8f10073a6 18/22: bump version, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon bf656bd333 19/22: rear-nonsticky only for \n at end of compose header.,
ELPA Syncer <=
- [nongnu] elpa/mastodon 083222c20c 21/22: bump, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon b8c5e9d50d 22/22: Merge branch 'develop', ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 3cd233610a 09/22: comment CI badge (defunct), ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 98333a0f21 12/22: remove lambda from masto-toot hook, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 2d3b3f00a3 05/22: refactor misskey instance desc. if masto inst err, try misskey, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 0aa39f5f14 11/22: mastodon-toot--enable-custom-emoji: performance improvement., ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon b8517fa6d6 14/22: Merge branch 'develop', ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 04978295f6 15/22: enable-custom-emoji: cl-find predicate for unless, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon ce6739f747 04/22: instance-response-fun: misskey arg optional, ELPA Syncer, 2023/10/05
- [nongnu] elpa/mastodon 926bffff9d 16/22: enable-custom-emoji: cl-find predicate for unless, ELPA Syncer, 2023/10/05