diff options
| author | Sean Whitton | 2025-04-08 15:12:17 +0800 |
|---|---|---|
| committer | Sean Whitton | 2025-04-08 15:12:17 +0800 |
| commit | 577ddbb9b79c067d296d50f3e8a04c193c1632b3 (patch) | |
| tree | 5f8b5d148d4cef5075a2f3f3219f8abc74eea7c8 | |
| parent | b784f194f8320d326c755dd49b31210977aae0e7 (diff) | |
| download | emacs-577ddbb9b79c067d296d50f3e8a04c193c1632b3.tar.gz emacs-577ddbb9b79c067d296d50f3e8a04c193c1632b3.zip | |
; Fix last change: ensure-list does not ensure a proper list
| -rw-r--r-- | lisp/vc/vc.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 42591076d5c..bc3d4cdbb68 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -1289,7 +1289,8 @@ BEWARE: this function may change the current buffer." | |||
| 1289 | FILES should be a pair, or list of pairs, of files and their VC states. | 1289 | FILES should be a pair, or list of pairs, of files and their VC states. |
| 1290 | BACKEND is the VC backend responsible for FILES." | 1290 | BACKEND is the VC backend responsible for FILES." |
| 1291 | (let ((state (cdar files)) | 1291 | (let ((state (cdar files)) |
| 1292 | (files* (mapcar #'car (ensure-list files)))) | 1292 | (files* (mapcar #'car |
| 1293 | (if (proper-list-p files) files (list files))))) | ||
| 1293 | ;; Check that all files are in a consistent state, since we use that | 1294 | ;; Check that all files are in a consistent state, since we use that |
| 1294 | ;; state to decide which operation to perform. | 1295 | ;; state to decide which operation to perform. |
| 1295 | (dolist (crt (cdr files)) | 1296 | (dolist (crt (cdr files)) |