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

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

[nongnu] elpa/spell-fu eeda8ef28e 06/86: Cleanup: minor non-functional c


From: ELPA Syncer
Subject: [nongnu] elpa/spell-fu eeda8ef28e 06/86: Cleanup: minor non-functional changes
Date: Thu, 7 Jul 2022 12:03:38 -0400 (EDT)

branch: elpa/spell-fu
commit eeda8ef28ec58685f048c25754816df5480a8d22
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: minor non-functional changes
---
 spell-fu.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spell-fu.el b/spell-fu.el
index 8e407cfa58..ebd69bfca1 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -177,7 +177,7 @@ Optional argument BODY runs with the message prefix."
   (let ((inhibit-field-text-motion t))
     `
     (save-excursion
-      ;; Extend the ranges to line start/end, leaving the point at the start.
+      ;; Extend the ranges to line start/end.
       (goto-char ,point-end)
       (setq ,point-end (line-end-position))
       (goto-char ,point-start)
@@ -201,7 +201,7 @@ Argument POS return faces at this point."
         (push faceprop faces))
       ((face-list-p faceprop)
         (dolist (face faceprop)
-          (if (facep face)
+          (when (facep face)
             (push face faces)))))
     faces))
 



reply via email to

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