branch: elpa/adoc-mode commit 69e44f37ac473f38c9da2935f7d30d7f704c25d0 Author: Florian Kaufmann <sensor...@gmail.com> Commit: Florian Kaufmann <sensor...@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 '&' 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. -'&', in contrast to '' or '(C)' ) to be displayed you need to -set `adoc-unichar-name-resolver'." +'&', in contrast to '' 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)