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

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

[nongnu] elpa/doc-show-inline 3dcd1bab4a: Cleanup: reformat with updated


From: ELPA Syncer
Subject: [nongnu] elpa/doc-show-inline 3dcd1bab4a: Cleanup: reformat with updated elisp-autofmt
Date: Mon, 16 Jan 2023 04:59:27 -0500 (EST)

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

    Cleanup: reformat with updated elisp-autofmt
---
 doc-show-inline.el | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/doc-show-inline.el b/doc-show-inline.el
index ccee4b0dde..afb80b8136 100644
--- a/doc-show-inline.el
+++ b/doc-show-inline.el
@@ -383,14 +383,12 @@ the point should not be moved by this function."
     (let* ((default-color (face-attribute 'default :background))
            (default-tint
             (doc-show-inline--color-highlight
-             default-color
-             doc-show-inline-face-background-highlight)))
+             default-color doc-show-inline-face-background-highlight)))
       ;; Ensure there is some change, otherwise tint in the opposite direction.
       (when (equal default-color default-tint)
         (setq default-tint
               (doc-show-inline--color-highlight
-               default-color
-               (- doc-show-inline-face-background-highlight))))
+               default-color (- doc-show-inline-face-background-highlight))))
       (set-face-attribute 'doc-show-inline-face nil :background 
default-tint))))
 
 (defun doc-show-inline--overlays-remove (&optional pos-beg pos-end)
@@ -751,8 +749,7 @@ XREF-BACKEND is the back-end used to find this symbol."
        (list
         :background
         (nth
-         doc-show-inline--idle-overlays-debug-index
-         doc-show-inline--idle-overlays-debug-colors)
+         doc-show-inline--idle-overlays-debug-index 
doc-show-inline--idle-overlays-debug-colors)
         :extend t)))))
 
 (defun doc-show-inline--timer-callback-or-disable (this-timer buf)
@@ -799,9 +796,7 @@ XREF-BACKEND is the back-end used to find this symbol."
             ;; ensuring it is only disabled on successful completion.
             ;; Pass a nil function here, set the function & arguments below.
             (run-with-idle-timer
-             doc-show-inline-idle-delay
-             t
-             #'doc-show-inline--timer-callback-or-disable))
+             doc-show-inline-idle-delay t 
#'doc-show-inline--timer-callback-or-disable))
 
       (timer-set-function doc-show-inline--idle-timer 
#'doc-show-inline--timer-callback-or-disable
                           (list



reply via email to

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