minor elisp convention fix
This commit is contained in:
parent
1a5579db6f
commit
a23761c383
1 changed files with 4 additions and 2 deletions
|
@ -544,7 +544,8 @@ If MESSAGEBUF is not nil then MSG is also written in message buffer."
|
|||
(goto-char (point-max))
|
||||
(let ((buffer-read-only nil))
|
||||
(insert msg)
|
||||
(if messagebuf (message "(Spacemacs) %s" msg)))))
|
||||
(when messagebuf
|
||||
(message "(Spacemacs) %s" msg)))))
|
||||
|
||||
(defun spacemacs-buffer/replace-last-line (msg &optional messagebuf)
|
||||
"Replace the last line of the spacemacs buffer with MSG.
|
||||
|
@ -554,7 +555,8 @@ If MESSAGEBUF is not nil then MSG is also written in message buffer."
|
|||
(let ((buffer-read-only nil))
|
||||
(delete-region (line-beginning-position) (point-max))
|
||||
(insert msg)
|
||||
(if messagebuf (message "(Spacemacs) %s" msg)))))
|
||||
(when messagebuf
|
||||
(message "(Spacemacs) %s" msg)))))
|
||||
|
||||
(defun spacemacs-buffer/loading-animation ()
|
||||
"Display the progress bar by chunks of size `spacemacs--loading-dots-chunk-threshold'."
|
||||
|
|
Reference in a new issue