emacs-diffs
[Top][All Lists]
Advanced

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

feature/integration-of-dictionary-el 28fe134 1/2: Remove text property f


From: Torsten Hilbrich
Subject: feature/integration-of-dictionary-el 28fe134 1/2: Remove text property from empty line
Date: Thu, 19 Nov 2020 02:35:40 -0500 (EST)

branch: feature/integration-of-dictionary-el
commit 28fe1349711e36bd65542472cd3fb0d94c5e2bb2
Author: Matthias Meulien <orontee@gmail.com>
Commit: Torsten Hilbrich <torsten.hilbrich@gmx.net>

    Remove text property from empty line
---
 lisp/net/dictionary.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el
index 1e1d4d9..0682d55 100644
--- a/lisp/net/dictionary.el
+++ b/lisp/net/dictionary.el
@@ -788,9 +788,9 @@ This function knows about the special meaning of quotes 
(\")"
            dictionary-description-open-delimiter
            (dictionary-decode-charset description dictionary)
            dictionary-description-close-delimiter
-           " [" (dictionary-decode-charset dictionary dictionary) "]:"
-           "\n\n")
-    (put-text-property start (point) 'face 'dictionary-word-entry-face)))
+           " [" (dictionary-decode-charset dictionary dictionary) "]:")
+    (put-text-property start (point) 'face 'dictionary-word-entry-face)
+    (insert "\n\n")))
 
 (defun dictionary-display-word-definition (reply word dictionary)
   "Insert the definition for the current word"



reply via email to

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