Skip to content

Commit 90c0677

Browse files
committed
Remove * from buffer name
- Having * in the buffer name makes it act as popup in Doom Emacs
1 parent f61ad97 commit 90c0677

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

leetcode.el

+4-4
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ python3, ruby, rust, scala, swift, mysql, mssql, oraclesql.")
245245
(defconst leetcode--all-difficulties '("Easy" "Medium" "Hard"))
246246
(defconst leetcode--paid "" "Paid mark.")
247247
(defconst leetcode--checkmark "" "Checkmark for accepted problem.")
248-
(defconst leetcode--buffer-name "*leetcode*")
248+
(defconst leetcode--buffer-name "leetcode")
249249

250250
(defface leetcode-paid-face
251251
'((t (:foreground "gold")))
@@ -482,15 +482,15 @@ Such as 'Two Sum' will be converted to 'two-sum'. 'Pow(x, n)' will be 'powx-n'"
482482

483483
(defun leetcode--detail-buffer-name (problem-id)
484484
"Detail buffer name with PROBLEM-ID."
485-
(format "*leetcode-detail-%s*" problem-id))
485+
(format "leetcode-detail-%s" problem-id))
486486

487487
(defun leetcode--testcase-buffer-name (problem-id)
488488
"Testcase buffer name with PROBLEM-ID."
489-
(format "*leetcode-testcase-%s*" problem-id))
489+
(format "leetcode-testcase-%s" problem-id))
490490

491491
(defun leetcode--result-buffer-name (problem-id)
492492
"Result buffer name with PROBLEM-ID."
493-
(format "*leetcode-result-%s*" problem-id))
493+
(format "leetcode-result-%s" problem-id))
494494

495495
(defun leetcode--maybe-focus ()
496496
"Delete other windows, keep only *leetcode* buffer."

0 commit comments

Comments
 (0)