branch: elpa/fedi
commit a9df02f835899d0a587d236b1fa4d16e53af9039
Merge: 62aea20f111 49902e16ce8
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    Merge branch 'dev'
---
 fedi-post.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/fedi-post.el b/fedi-post.el
index e3c6894b3ec..92dcb826ed8 100644
--- a/fedi-post.el
+++ b/fedi-post.el
@@ -120,7 +120,7 @@ face. no-label is optional.")
          ?@
          (group-n 2 ; = username only
            (* (any ?- ?_ ;?. ;; this . breaks word-boundary at end
-                   "A-Z" "a-z" "0-9" )))
+                   "A-Z" "a-z" "0-9")))
          (? ?@
             (group-n 3 ; = optional domain
               (* (not (any "\n" "\t" " ")))))))
@@ -675,9 +675,8 @@ BUF-PREFIX is a string to prepend to the buffer name."
              (add-to-list 'company-backends 'company-capf))
         (company-mode-on))
       ;; corfu
-      (when (and (require 'corfu nil :no-error)
-                 autocomplete)
-        (setq-local corfu-auto t)
+      (when (require 'corfu nil :no-error)
+        (when autocomplete (setq-local corfu-auto t))
         (corfu--on)))
     ;; after-change:
     (make-local-variable 'after-change-functions)

Reply via email to