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

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

[elpa] externals/pabbrev 75dde00 1/2: Ensure cursor is the correct posit


From: Phillip Lord
Subject: [elpa] externals/pabbrev 75dde00 1/2: Ensure cursor is the correct position.
Date: Sun, 20 Mar 2016 21:02:09 +0000

branch: externals/pabbrev
commit 75dde004d44f21a06538cb8d7dba45c74cb92393
Author: Phillip Lord <address@hidden>
Commit: Phillip Lord <address@hidden>

    Ensure cursor is the correct position.
---
 pabbrev.el |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/pabbrev.el b/pabbrev.el
index 8e3713f..07c28bc 100644
--- a/pabbrev.el
+++ b/pabbrev.el
@@ -921,12 +921,11 @@ The suggestion should start with PREFIX, and be entered 
at point."
           (setq pabbrev-marker (cons (point) (point)))
           (overlay-put pabbrev-overlay
                        'after-string
-                       (propertize
-                        (concat "["
-                                (propertize expansion
-                                            'face (overlay-get pabbrev-overlay 
'face))
-                                "]")
-                        'cursor 0)))))))
+                       (concat
+                        (propertize "[" 'cursor 1)
+                        (propertize expansion
+                                    'face (overlay-get pabbrev-overlay 'face))
+                        "]")))))))
 
 (defvar pabbrev-last-expansion-suggestions nil
   "Cached alternative suggestions from the last expansion.")



reply via email to

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