branch: elpa/slime
commit 42b229104a42e3e75468c1d573b3b0828bf98c01
Author: sczi <s...@users.noreply.github.com>
Commit: Stas Boukarev <stass...@gmail.com>

    fix slime-end-of-proprange-p in narrowed buffers
---
 contrib/slime-repl.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/slime-repl.el b/contrib/slime-repl.el
index 7586e1a32f..76457e3a64 100644
--- a/contrib/slime-repl.el
+++ b/contrib/slime-repl.el
@@ -668,7 +668,7 @@ buffer."
                        (point-max))))))
 
 (defun slime-end-of-proprange-p (property)
-  (and (get-char-property (max 1 (1- (point))) property)
+  (and (get-char-property (max (point-min) (1- (point))) property)
        (not (get-char-property (point) property))))
 
 (defvar slime-repl-return-hooks)

Reply via email to