@@ -226,7 +226,7 @@ Only displays the push if it is active and has a non-empty body."
226226 (pushbullet--log " Received %S pushes, received %S" pushbullet-limit (length pushes))
227227 (setq pushbullet-cursor cursor )
228228 (setq pushbullet-pushes (append pushbullet-pushes pushes))))
229-
229+
230230(defun pushbullet--display-pushes (data )
231231 " Display multiple Pushbullet pushes from DATA in the UI buffer.
232232DATA should contain a list of 'pushes' and a pagination 'cursor'.
@@ -252,7 +252,7 @@ PATTERN should be a regexp string."
252252 (when (re-search-forward pattern nil t )
253253 (delete-region (match-beginning 0 ) (match-end 0 )))))
254254
255- (defun pushbullet--ui ()
255+ (defun pushbullet--display ()
256256 " Initialize and render the Pushbullet UI in the current buffer.
257257
258258This clears the buffer, inserts a banner at the top, displays a temporary
@@ -271,8 +271,8 @@ the pushes. Once the pushes are loaded, the loading message is removed."
271271
272272(defun pushbullet--next-endpoint (cursor )
273273 (if cursor (format " /pushes?limit=%d &cursor=%s " pushbullet-limit pushbullet-cursor)
274- (format " /pushes?limit=%d " pushbullet-limit)))
275-
274+ (format " /pushes?limit=%d " pushbullet-limit)))
275+
276276;;;### autoload
277277(defun pushbullet-update ()
278278 " Fetch and display Pushbullet pushes in the current buffer.
@@ -382,7 +382,7 @@ When PUSHES is nil, or when called interactively, use 'pushbullet-pushes'."
382382 (let ((buffer (get-buffer-create pushbullet-buffer)))
383383 (with-current-buffer buffer
384384 (pushbullet-mode)
385- (pushbullet--ui ))
385+ (pushbullet--display ))
386386 (switch-to-buffer buffer))
387387 t )
388388
0 commit comments