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

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

[nongnu] elpa/adoc-mode 69e44f37ac 049/199: changed default of adoc-inse


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode 69e44f37ac 049/199: changed default of adoc-insert-replacement to nil
Date: Sun, 3 Sep 2023 06:59:33 -0400 (EDT)

branch: elpa/adoc-mode
commit 69e44f37ac473f38c9da2935f7d30d7f704c25d0
Author: Florian Kaufmann <sensorflo@gmail.com>
Commit: Florian Kaufmann <sensorflo@gmail.com>

    changed default of adoc-insert-replacement to nil
---
 adoc-mode.el | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/adoc-mode.el b/adoc-mode.el
index de919a0666..d9c48ed027 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -137,8 +137,11 @@ You need to call `adoc-calc' after a change."
                (float :tag "Superscript"))
   :group 'adoc)
 
-(defcustom adoc-insert-replacement t
-  "When true the character/string a replacment/entity stands for is displayed.
+;; Interacts very badly with minor-modes using overlays because
+;; adoc-unfontify-region-function removes ALL overlays, not only those which
+;; where insered by adoc-mode.
+(defcustom adoc-insert-replacement nil
+  "When non-nil the character/string a replacment/entity stands for is 
displayed.
 
 E.g. after '&amp;' an '&' is displayed, after '(C)' the copy right
 sign is displayed. It's only about display, neither the file nor
@@ -146,8 +149,11 @@ the buffer content is affected.
 
 You need to call `adoc-calc' after you change
 `adoc-insert-replacement'. For named character entities (e.g.
-'&amp;', in contrast to '&#20;' or '(C)' ) to be displayed you need to
-set `adoc-unichar-name-resolver'."
+'&amp;', in contrast to '&#20;' or '(C)' ) to be displayed you
+need to set `adoc-unichar-name-resolver'.
+
+Setting it to non-nil interacts very badly with minor-modes using
+overlays."
   :type 'boolean
   :group 'adoc)
 



reply via email to

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