Tidy: (ement-room--user-color) Variable name

package-lint thought that "show-buffer" was a function call, and that
function was removed from earlier Emacsen.
This commit is contained in:
Adam Porter 2021-07-27 21:51:14 -05:00
parent 070dedb8c9
commit 9166360628

View file

@ -1403,15 +1403,15 @@ For use as a `help-echo' function on `ement-user' headings."
(ement-event (ewoc-data (ewoc-locate ement-ewoc pos)))
((cl-struct ement-event id) ement-event)
(buffer-name (format "*Ement image: %s*" id))
(show-buffer (get-buffer-create buffer-name)))
(new-buffer (get-buffer-create buffer-name)))
(setf (image-property image :type) 'imagemagick
(image-property image :scale) 1.0
(image-property image :max-width) nil
(image-property image :max-height) nil)
(with-current-buffer show-buffer
(with-current-buffer new-buffer
(erase-buffer)
(insert-image image))
(pop-to-buffer show-buffer '((display-buffer-pop-up-frame)))
(pop-to-buffer new-buffer '((display-buffer-pop-up-frame)))
(set-frame-parameter nil 'fullscreen 'maximized)))))
(declare-function ement--mxc-to-url "ement.el")