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

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

[elpa] master 89a74bb 2/9: Avoid further confusion when an alias matches


From: Artur Malabarba
Subject: [elpa] master 89a74bb 2/9: Avoid further confusion when an alias matches the current name
Date: Wed, 09 Sep 2015 11:08:19 +0000

branch: master
commit 89a74bbffb6ba2c419c039b4422326c1385edcc7
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    Avoid further confusion when an alias matches the current name
---
 nameless.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/nameless.el b/nameless.el
index 415dfe0..26b1024 100644
--- a/nameless.el
+++ b/nameless.el
@@ -99,7 +99,8 @@ for it to take effect."
 (defun nameless--compose-as (display)
   "Compose the matched region and return a face spec."
   (when (and nameless-mode
-             (not (get-text-property (match-beginning 0) 'composition)))
+             (not (get-text-property (match-beginning 1) 'composition))
+             (not (get-text-property (match-beginning 1) 'display)))
     (let ((compose (save-match-data
                      (and nameless-affect-indentation-and-filling
                           (or (not (eq nameless-affect-indentation-and-filling 
'outside-strings))



reply via email to

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