Skip to content

Commit

Permalink
Use nil value instead of symbol in pcase
Browse files Browse the repository at this point in the history
`'nil` is fine in Emacs 25, but not in Emacs 24.
  • Loading branch information
xiongtx committed Jul 22, 2017
1 parent d25c51b commit 5b25c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nrepl-client.el
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ MSG is a string to be displayed. TYPE is the type of the message. All
notifications are currently displayed with `message' function and emitted
to the REPL."
(let* ((face (pcase type
((or "message" 'nil) 'font-lock-builtin-face)
((or "message" `nil) 'font-lock-builtin-face)
("warning" 'warning)
("error" 'error)))
(msg (if face
Expand Down

0 comments on commit 5b25c69

Please sign in to comment.