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

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

[nongnu] elpa/doc-show-inline 87a40fa269 10/10: Cleanup: no need to shar


From: ELPA Syncer
Subject: [nongnu] elpa/doc-show-inline 87a40fa269 10/10: Cleanup: no need to sharp-quote lambda
Date: Sun, 8 Jan 2023 02:59:08 -0500 (EST)

branch: elpa/doc-show-inline
commit 87a40fa26969127cc4b6d7bfd3b8efb88457d93f
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: no need to sharp-quote lambda
---
 doc-show-inline.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc-show-inline.el b/doc-show-inline.el
index 4ab5318883..8b231d1a21 100644
--- a/doc-show-inline.el
+++ b/doc-show-inline.el
@@ -183,10 +183,10 @@ Where positive brighten and negative numbers darken."
            (cons
             "#%02x%02x%02x"
             (mapcar
-             #'(lambda (n)
-                 ;; Shift by -8 to map the value returned by `color values':
-                 ;; 0..65535 to 0..255 for `#RRGGBB` string formatting.
-                 (ash (min 65535 (max 0 (truncate (+ (nth n value) 
factor-int)))) -8))
+             (lambda (n)
+               ;; Shift by -8 to map the value returned by `color values':
+               ;; 0..65535 to 0..255 for `#RRGGBB` string formatting.
+               (ash (min 65535 (max 0 (truncate (+ (nth n value) 
factor-int)))) -8))
              (number-sequence 0 2))))))
 
 (defun doc-show-inline--buffer-substring-with-overlay-props (pos-beg pos-end)



reply via email to

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