[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/tzz/auth-source-reveal-mode e47addd: lisp/auth-source.el: should
From: |
Teodor Zlatanov |
Subject: |
scratch/tzz/auth-source-reveal-mode e47addd: lisp/auth-source.el: should be min(BOL, start) not max |
Date: |
Thu, 11 Jun 2020 09:52:10 -0400 (EDT) |
branch: scratch/tzz/auth-source-reveal-mode
commit e47addd11462d8a3d2cbd7760b27e60bc2b3d62d
Author: Ted Zlatanov <tzz@lifelogs.com>
Commit: Ted Zlatanov <tzz@lifelogs.com>
lisp/auth-source.el: should be min(BOL, start) not max
---
lisp/auth-source.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 5fa83ca..201c66b 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -2427,7 +2427,7 @@ The text following the tokens or under the JSON keys will
be hidden."
(debug)
;; non-JSON modes
(save-restriction
- (narrow-to-region (max (point-at-bol) start)
+ (narrow-to-region (min (point-at-bol) start)
(max (point-at-eol) end))
(cl-dolist (o (overlays-in (point-min) (point-max)))
(when (overlay-get o 'display)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- scratch/tzz/auth-source-reveal-mode e47addd: lisp/auth-source.el: should be min(BOL, start) not max,
Teodor Zlatanov <=