瀏覽代碼

Remove unused macro

Ryan C. Thompson 8 年之前
父節點
當前提交
6e83a020f9
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      test/ido-cr+-test.el

+ 0 - 7
test/ido-cr+-test.el

@@ -7,13 +7,6 @@
 ;; This is a series of macros to facilitate the non-interactive
 ;; testing of interactive functions by simulating user input.
 
-(defmacro keyboard-quit-to-error (&rest body)
-  "Evaluate BODY but signal an error on `keyboard-quit'."
-  `(condition-case nil
-       (progn ,@body)
-     (quit
-      (error "Caught `keyboard-quit'"))))
-
 (defmacro with-simulated-input (keys &rest body)
   "Eval body with KEYS as simulated input.