diff options
author | Tianxiang Xiong <tianxiang.xiong@gmail.com> | 2017-07-22 14:28:04 -0700 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2017-07-23 08:28:21 +0300 |
commit | ba66d222a8ce4c1b1b2f5ced3ce8143334ceae1e (patch) | |
tree | b1a7beec65e4f7500349a068374cc467a6ca0b27 /nrepl-client.el | |
parent | 35be94f6bae62d39645bea0d1c97c5de18fa8b23 (diff) |
Use `nil` value instead of symbol in `pcase`
`'nil` is fine in Emacs 25, but not in Emacs 24.
Diffstat (limited to 'nrepl-client.el')
-rw-r--r-- | nrepl-client.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nrepl-client.el b/nrepl-client.el index 9f91777b..706e4719 100644 --- a/nrepl-client.el +++ b/nrepl-client.el @@ -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 |