Skip to content

Commit ba66d22

Browse files
xiongtxbbatsov
authored andcommitted
Use nil value instead of symbol in pcase
`'nil` is fine in Emacs 25, but not in Emacs 24.
1 parent 35be94f commit ba66d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nrepl-client.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ MSG is a string to be displayed. TYPE is the type of the message. All
743743
notifications are currently displayed with `message' function and emitted
744744
to the REPL."
745745
(let* ((face (pcase type
746-
((or "message" 'nil) 'font-lock-builtin-face)
746+
((or "message" `nil) 'font-lock-builtin-face)
747747
("warning" 'warning)
748748
("error" 'error)))
749749
(msg (if face

0 commit comments

Comments
 (0)