Mu4e: Remove duplicate + in function name

This commit is contained in:
TEC 2020-10-14 14:06:15 +08:00
parent 2a2f8bfbac
commit a75bace498
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C
2 changed files with 5 additions and 5 deletions

View file

@ -423,7 +423,7 @@ Else, write to this process' PID to the lock file"
(setq +mu4e-lock--file-watcher
(file-notify-add-watch +mu4e-lock-file
'(change)
#'++mu4e-lock-file-updated)))
#'+mu4e-lock-file-updated)))
;;;###autoload
(defun +mu4e-lock-request (event)
@ -438,7 +438,7 @@ Else, write to this process' PID to the lock file"
(delete-file +mu4e-lock-request-file)))
;;;###autoload
(defun ++mu4e-lock-file-updated (event)
(defun +mu4e-lock-file-updated (event)
(if +mu4e-lock--file-just-deleted
(+mu4e-lock-add-watcher)
(when (equal (nth 1 event) 'deleted)

View file

@ -96,12 +96,12 @@
(defun +mu4e-header-colourise (str)
(let* ((str-sum (apply #'+ (mapcar (lambda (c) (% c 3)) str)))
(colour (nth (% str-sum (length ++mu4e-header-colourised-faces))
++mu4e-header-colourised-faces)))
(colour (nth (% str-sum (length +mu4e-header-colourised-faces))
+mu4e-header-colourised-faces)))
(put-text-property 0 (length str) 'face colour str)
str))
(defvar ++mu4e-header-colourised-faces
(defvar +mu4e-header-colourised-faces
'(all-the-icons-lblue
all-the-icons-purple
all-the-icons-blue-alt