   (utils/write-pref! :enable-paredit enable?))
 
 (defn toggle-paredit!
-  [_]
+  [& _]
   (reset! paredit-enabled? (not @paredit-enabled?)))
 
 (defn show-paredit-help!
-  [_]
+  [& _]
   (let [commands (->> pw/advanced-keymap
                       (apply concat)
                       (cons #(compare %1 %2))

       :text-area text-area
       :completer completer
       :close-fn! #(when (.isDirty text-area)
                     (save-file! nil))
       :italicize-fn #(.isDirty text-area)
       :should-remove-fn #(not (.exists (io/file path)))
       :toggle-paredit-fn! (init-paredit! text-area is-clojure? is-clojure?)})))

  true)

(defn undo-file!
  [& _]
  (when-let [text-area (get-selected-text-area)]
    (.undoLastAction text-area)
    (update-buttons! (get-selected-editor) text-area)))

(defn redo-file!
  [& _]
  (when-let [text-area (get-selected-text-area)]
    (.redoLastAction text-area)
    (update-buttons! (get-selected-editor) text-area)))
