File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 6
6
; ; Keywords: extensions, tools
7
7
; ; URL: https://github.com/kaiwk/leetcode.el
8
8
; ; Package-Requires: ((emacs "26") (dash "2.16.0") (graphql "0.1.1") (spinner "1.7.3") (aio "1.0"))
9
- ; ; Version: 0.1.6
9
+ ; ; Version: 0.1.7
10
10
11
11
; ; This program is free software; you can redistribute it and/or modify
12
12
; ; it under the terms of the GNU General Public License as published by
@@ -417,8 +417,9 @@ Return a list of rows, each row is a vector:
417
417
(tabulated-list-print t )
418
418
(leetcode--loading-mode -1 ))))
419
419
420
- (aio-defun leetcode-1 ()
420
+ (aio-defun leetcode--async ()
421
421
" Show leetcode problems buffer."
422
+ (interactive )
422
423
(if (get-buffer leetcode--buffer-name)
423
424
(switch-to-buffer leetcode--buffer-name)
424
425
(unless (leetcode--login-p)
@@ -428,10 +429,10 @@ Return a list of rows, each row is a vector:
428
429
429
430
;;;### autoload
430
431
(defun leetcode ()
431
- " A wrapper for leetcode-1 , because emacs-aio can not be
432
- autoloaded."
432
+ " A wrapper for leetcode--async , because emacs-aio can not be
433
+ autoloaded. see: https://github.com/skeeto/emacs-aio/issues/3 "
433
434
(interactive )
434
- (leetcode-1 ))
435
+ (leetcode--async ))
435
436
436
437
(defun leetcode--buffer-content (buf )
437
438
" Get content without text properties of BUF."
You can’t perform that action at this time.
0 commit comments