Skip to content

Commit cd5a7c0

Browse files
committed
Clean up cl-case
1 parent bc488bb commit cd5a7c0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

line-reminder.el

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ This function uses `string-match-p'."
173173
:face fc
174174
:priority
175175
(cl-case fc
176-
('line-reminder-modified-sign-face
176+
(line-reminder-modified-sign-face
177177
line-reminder-modified-sign-priority)
178-
('line-reminder-saved-sign-face
178+
(line-reminder-saved-sign-face
179179
line-reminder-saved-sign-priority)))))
180180

181181
(defun line-reminder--ind-remove-indicator-at-line (line)
@@ -251,12 +251,12 @@ LN : pass in by `linum-format' variable."
251251
TYPE : type of the propertize sign you want.
252252
LN : Pass is line number for normal sign."
253253
(cl-case type
254-
('normal (if (not ln)
254+
(normal (if (not ln)
255255
(error "Normal line but with no line number pass in")
256256
;; Just return normal linum format.
257257
(line-reminder--get-propertized-normal-sign ln)))
258-
('modified (line-reminder--get-propertized-modified-sign))
259-
('saved (line-reminder--get-propertized-saved-sign))))
258+
(modified (line-reminder--get-propertized-modified-sign))
259+
(saved (line-reminder--get-propertized-saved-sign))))
260260

261261
(defun line-reminder--linum-format (ln)
262262
"Core line reminder format string logic here.
@@ -468,10 +468,10 @@ or less than zero line in current buffer."
468468
(defun line-reminder--enable ()
469469
"Enable `line-reminder' in current buffer."
470470
(cl-case line-reminder-show-option
471-
('linum
471+
(linum
472472
(require 'linum)
473473
(setq-local linum-format 'line-reminder--linum-format))
474-
('indicators
474+
(indicators
475475
(require 'indicators)))
476476
(add-hook 'before-change-functions #'line-reminder--before-change-functions nil t)
477477
(add-hook 'after-change-functions #'line-reminder--after-change-functions nil t)

0 commit comments

Comments
 (0)