Replacing incf and defstruct to cl-incf and cl-defstruct
This commit is contained in:
parent
6978a71f64
commit
7780475042
|
@ -12442,7 +12442,7 @@ obtained from `xml-parse-region'."
|
|||
(dolist (jc jabber-connections)
|
||||
(dolist (buddy (plist-get (fsm-get-state-data jc) :roster))
|
||||
(when (assoc (get buddy 'show) count)
|
||||
(incf (cdr (assoc (get buddy 'show) count))))))
|
||||
(cl-incf (cdr (assoc (get buddy 'show) count))))))
|
||||
(setq jabber-mode-line-contacts
|
||||
(if jabber-mode-line-compact
|
||||
(format "(%d/%d/%d)"
|
||||
|
@ -13605,7 +13605,8 @@ A contact with an avatar has the image in the avatar property of the JID symbol.
|
|||
**** avatar data handling
|
||||
***** avatar :struct:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defstruct avatar sha1-sum mime-type url base64-data height width bytes)
|
||||
(cl-defstruct
|
||||
avatar sha1-sum mime-type url base64-data height width bytes)
|
||||
|
||||
#+END_SRC
|
||||
***** jabber-avatar-from-url :function:
|
||||
|
|
Loading…
Reference in New Issue