diff --git a/clang-format.el b/clang-format.el index 927c816..e355ed0 100644 --- a/clang-format.el +++ b/clang-format.el @@ -54,7 +54,7 @@ (goto-char (1+ (cdr (assoc 'Cursor json-output)))) (dotimes (index (length orig-windows)) (set-window-start (nth index orig-windows) - (nth index orig-window-starts))))))) - (error "%s" (concat clang-format-binary " not found."))) + (nth index orig-window-starts)))))) + (error "%s" (concat clang-format-binary " not found.")))) (provide 'clang-format)