Mercurial > emacs
comparison lisp/ediff-mult.el @ 101010:4efc7ca085ce
Replace last-command-char with last-command-event.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 09 Jan 2009 04:44:15 +0000 |
parents | a9dc0e7c3f2b |
children | c55394eee0de |
comparison
equal
deleted
inserted
replaced
101009:ad9d2270860e | 101010:4efc7ca085ce |
---|---|
2342 (defun ediff-meta-mark-equal-files (&optional action) | 2342 (defun ediff-meta-mark-equal-files (&optional action) |
2343 "Run through the session list and mark identical files. | 2343 "Run through the session list and mark identical files. |
2344 This is used only for sessions that involve 2 or 3 files at the same time. | 2344 This is used only for sessions that involve 2 or 3 files at the same time. |
2345 ACTION is an optional argument that can be ?h, ?m, ?=, to mark for hiding, mark | 2345 ACTION is an optional argument that can be ?h, ?m, ?=, to mark for hiding, mark |
2346 for operation, or simply indicate which are equal files. If it is nil, then | 2346 for operation, or simply indicate which are equal files. If it is nil, then |
2347 `last-command-char' is used to decide which action to take." | 2347 `last-command-event' is used to decide which action to take." |
2348 (interactive) | 2348 (interactive) |
2349 (if (null action) | 2349 (if (null action) |
2350 (setq action last-command-char)) | 2350 (setq action last-command-event)) |
2351 (let ((list (cdr ediff-meta-list)) | 2351 (let ((list (cdr ediff-meta-list)) |
2352 marked1 marked2 marked3 | 2352 marked1 marked2 marked3 |
2353 fileinfo1 fileinfo2 fileinfo3 elt) | 2353 fileinfo1 fileinfo2 fileinfo3 elt) |
2354 (message "Comparing files ...") | 2354 (message "Comparing files ...") |
2355 (while (setq elt (car list)) | 2355 (while (setq elt (car list)) |