Dima Kogan
e5ef59b87d
diff-mode auto-refines only after a successful motion
...
Prior to this patch (if enabled) auto-refinement would kick in after all
hunk navigation commands, even if the motion failed. This would result
in a situation where the hunk navigation would signal an error and beep,
but yet still accomplish potentially useful work, by auto-refining.
This patch moves the auto-refinement code to only run when a motion was
successful
* lisp/vc/diff-mode.el (diff--internal-hunk-next,
diff--internal-hunk-prev): Removed auto-refinement-triggering code
* lisp/vc/diff-mode.el (diff--wrap-navigation): Added
auto-refinement-triggering code
2016-12-24 21:42:02 -08:00
..
2016-08-23 22:38:48 +09:00
2016-12-24 14:35:12 +02:00
2016-12-22 10:14:11 -08:00
2016-12-21 15:07:43 -05:00
2016-12-07 12:43:16 -08:00
2016-11-04 15:02:03 -07:00
2016-12-07 12:39:07 -08:00
2016-12-10 19:03:28 -08:00
2016-02-24 13:07:34 +11:00
2016-12-07 12:40:43 -08:00
2016-11-04 15:02:03 -07:00
2016-11-25 12:41:20 +02:00
2016-12-03 19:27:41 -08:00
2016-11-04 15:02:03 -07:00
2016-12-21 12:42:22 +01:00
2016-11-17 22:50:40 -08:00
2016-12-12 17:17:34 -05:00
2016-12-07 12:43:16 -08:00
2016-06-10 00:23:33 -04:00
2016-12-21 21:39:58 -05:00
2016-11-19 14:31:05 -08:00
2016-12-21 22:31:29 +00:00
2016-11-17 00:39:43 +09:00
2016-12-24 21:42:02 -08:00
2016-09-26 13:39:17 -07:00
2016-05-01 19:27:09 +02:00
2016-11-17 22:50:40 -08:00
2016-05-01 18:53:31 -07:00
2016-11-06 00:42:03 -07:00
2016-11-19 14:31:05 -08:00
2016-02-01 20:59:32 -05:00
2016-04-19 11:05:55 +02:00
2016-12-02 13:11:53 -05:00
2016-05-01 19:42:35 +02:00
2016-12-22 10:14:11 -08:00
2016-11-22 15:23:50 +09:00
2016-12-08 13:46:25 +09:00
2016-02-24 22:35:18 +02:00
2016-08-21 04:15:44 -07:00
2016-02-14 19:45:12 -08:00
2016-04-10 23:55:05 -07:00
2016-08-30 20:54:42 -07:00
2016-05-17 23:55:38 +03:00
2016-11-07 19:09:19 +02:00
2016-11-22 13:49:17 +01:00
2016-03-21 17:47:22 -07:00
2016-11-25 12:24:22 +02:00
2016-12-13 22:15:32 +00:00
2016-12-07 12:43:16 -08:00
2016-11-17 22:50:40 -08:00
2016-10-16 22:51:51 -07:00
2016-02-21 13:32:22 +11:00
2016-11-07 19:34:51 +02:00
2016-10-08 16:37:42 +03:00
2016-05-01 19:27:10 +02:00
2016-06-27 19:13:48 +03:00
2016-10-15 23:14:48 -04:00
2016-11-12 21:54:45 -05:00
2016-12-07 11:31:16 -08:00
2016-12-07 12:36:38 -08:00
2016-03-18 22:46:42 +01:00
2016-09-28 13:08:12 -04:00
2016-01-24 20:30:39 +00:00
2016-11-22 15:23:50 +09:00
2016-06-09 20:13:12 -04:00
2016-12-02 14:43:58 +00:00
2016-10-27 08:11:25 -07:00
2016-12-05 22:42:09 -08:00
2016-01-11 22:48:07 -08:00
2016-08-19 11:20:30 +02:00
2016-06-09 17:56:29 +09:00
2016-04-10 19:50:39 +03:00
2016-11-19 14:31:05 -08:00
2016-10-21 13:06:03 -07:00
2016-03-02 10:24:55 +00:00
2016-11-14 13:56:58 +01:00
2016-12-09 10:03:05 +01:00
2016-03-07 08:26:36 -08:00
2016-02-24 14:01:50 +11:00
2016-05-01 19:27:08 +02:00
2016-12-13 22:15:32 +00:00
2016-04-29 14:58:21 +00:00
2016-05-01 19:27:10 +02:00
2016-05-01 19:27:11 +02:00
2016-03-18 08:55:26 -07:00
2016-12-02 20:25:15 -05:00
2016-08-21 11:36:11 +02:00
2016-06-15 10:18:50 -04:00
2016-12-21 15:07:43 -05:00
2016-09-23 16:36:24 +03:00
2016-05-13 07:45:30 -07:00
2016-10-31 20:31:22 -04:00
2016-07-18 02:17:06 +03:00
2016-01-11 22:48:07 -08:00
2016-05-01 19:27:09 +02:00
2016-06-26 10:54:29 +09:00
2016-05-26 11:30:29 +02:00
2016-12-07 12:43:16 -08:00
2016-12-20 17:41:56 +09:00
2016-12-15 15:02:32 +09:00
2016-12-20 17:41:56 +09:00
2016-04-28 19:31:43 +02:00
2016-12-19 09:32:30 +01:00
2016-07-18 02:17:06 +03:00
2016-12-22 10:14:11 -08:00
2016-12-15 21:59:15 -05:00
2016-12-02 12:09:31 +02:00
2016-05-01 19:27:16 +02:00
2016-11-18 11:02:55 +02:00
2016-04-16 14:20:34 +03:00
2016-09-28 13:08:12 -04:00
2016-10-25 12:50:31 -07:00
2016-11-25 12:29:44 +02:00
2016-05-08 02:09:36 +03:00
2016-11-05 11:42:15 +02:00
2016-10-21 13:06:03 -07:00
2016-08-10 00:42:40 -04:00
2016-04-29 15:23:38 +02:00
2016-12-13 22:15:32 +00:00
2016-12-13 22:15:32 +00:00
2016-12-01 06:20:43 -05:00
2016-01-11 22:48:07 -08:00
2016-12-19 11:44:18 -05:00
2016-10-08 16:37:42 +03:00
2016-11-19 14:31:05 -08:00
2016-12-13 22:15:32 +00:00
2016-11-19 14:31:05 -08:00
2016-11-19 14:31:05 -08:00
2016-10-15 23:27:46 -04:00
2016-12-11 21:36:08 -05:00
2016-10-22 13:07:32 +02:00
2016-11-17 00:39:43 +09:00
2016-03-07 18:55:20 -08:00
2016-05-01 19:27:12 +02:00
2016-03-21 17:05:55 -07:00
2016-11-19 14:31:05 -08:00
2016-06-23 17:13:11 -04:00
2016-02-26 16:01:46 +10:30
2016-06-10 00:23:33 -04:00
2016-11-19 14:31:05 -08:00
2016-03-22 01:19:03 -07:00
2016-08-05 14:10:30 -07:00
2016-09-28 13:08:12 -04:00
2016-01-11 22:48:07 -08:00
2016-10-08 16:37:42 +03:00
2016-08-13 23:32:36 -05:00
2016-10-19 12:37:50 +01:00
2016-11-17 18:27:38 -05:00
2016-11-25 12:24:22 +02:00
2016-11-25 21:08:32 +01:00
2016-02-24 13:04:03 +11:00
2016-02-25 13:44:43 -05:00
2016-07-06 06:05:15 +03:00
2016-09-12 21:25:09 +03:00
2016-08-10 10:13:27 +02:00
2016-12-10 17:29:51 -08:00
2016-12-07 20:10:54 -05:00
2016-03-21 17:47:22 -07:00
2016-09-28 13:08:12 -04:00
2016-01-30 11:51:10 -08:00
2016-10-16 22:51:51 -07:00
2016-01-24 20:30:39 +00:00
2016-12-21 15:07:43 -05:00
2016-06-27 22:25:10 +02:00
2016-02-11 09:54:36 +00:00
2016-11-19 14:31:05 -08:00
2016-11-03 20:33:19 +09:00
2016-02-22 11:33:54 -08:00
2016-12-07 12:43:16 -08:00
2016-04-19 18:06:52 +03:00
2016-01-30 11:51:10 -08:00
2016-01-30 11:51:10 -08:00
2016-01-30 11:51:10 -08:00
2016-09-02 11:44:13 -04:00
2016-06-01 13:26:30 -07:00
2016-10-08 16:37:42 +03:00
2016-11-17 22:50:40 -08:00
2016-11-17 00:39:43 +09:00
2016-12-24 09:45:14 -05:00
2016-06-23 17:13:11 -04:00
2016-11-17 22:50:40 -08:00
2016-12-12 10:16:23 +01:00
2016-05-01 19:27:09 +02:00
2016-10-13 14:37:10 -04:00
2016-09-28 13:08:12 -04:00
2016-11-28 19:45:55 +01:00
2016-10-25 23:07:13 -07:00