about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-12-23T17·30+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-06T15·25+0000
commitc078f0452666e4d7a03d234393ccec7210a86642 (patch)
tree9fd486d6fcddae09908aad385c809aa758734cad /configs/shared/.emacs.d/wpc
parent15d889fa0ea9f89881b969a4f615337d27d5d82c (diff)
Change &keys -> &key in cl-defun
These were latent bugs.
Diffstat (limited to 'configs/shared/.emacs.d/wpc')
-rw-r--r--configs/shared/.emacs.d/wpc/chrome.el2
-rw-r--r--configs/shared/.emacs.d/wpc/iso.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/shared/.emacs.d/wpc/chrome.el b/configs/shared/.emacs.d/wpc/chrome.el
index a27c9dd3967f..4f535ebbad5a 100644
--- a/configs/shared/.emacs.d/wpc/chrome.el
+++ b/configs/shared/.emacs.d/wpc/chrome.el
@@ -47,7 +47,7 @@
        chrome/open-urls))
 
 ;; TODO: Support optional kwargs.
-(cl-defun chrome/open-url (url &keys new-window?)
+(cl-defun chrome/open-url (url &key new-window?)
   "Opens `URL' in google-chrome.
 Will open without toolbars if APP-MODE? is t."
   (shell-command (s-concat
diff --git a/configs/shared/.emacs.d/wpc/iso.el b/configs/shared/.emacs.d/wpc/iso.el
index 1691a0daaad6..c9ce4a48fc71 100644
--- a/configs/shared/.emacs.d/wpc/iso.el
+++ b/configs/shared/.emacs.d/wpc/iso.el
@@ -79,7 +79,7 @@
      (iso/as-to #'symbol-name)
      )
 
-(cl-defun iso/new (x &keys to)
+(cl-defun iso/new (x &key to)
   "Create a new isomorphism of X mapping to TO."
   (let ((from (iso/classify x)))
     (prelude/assert (iso/exists? to from))