diff options
| author | Luc Teirlinck | 2004-03-22 04:43:17 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-03-22 04:43:17 +0000 |
| commit | 19e580b4e9e40d3bce53fc39eddfe49a27a995f9 (patch) | |
| tree | 80914bc94397364f18eac4abe441f20619847408 | |
| parent | 091ec19209584a1e69acfb36410ed71284f574cf (diff) | |
| download | emacs-19e580b4e9e40d3bce53fc39eddfe49a27a995f9.tar.gz emacs-19e580b4e9e40d3bce53fc39eddfe49a27a995f9.zip | |
(format-insert-file): Always return a list of two elements,
like insert-file-contents does.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/format.el | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 68faae1073a..ad5a98af8cb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-03-21 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * format.el (format-insert-file): Always return a list of two | ||
| 4 | elements, like insert-file-contents does. | ||
| 5 | |||
| 1 | 2004-03-21 Andre Spiegel <spiegel@gnu.org> | 6 | 2004-03-21 Andre Spiegel <spiegel@gnu.org> |
| 2 | 7 | ||
| 3 | * vc.el Add new optional BUFFER argument to vc-BACKEND-print-log | 8 | * vc.el Add new optional BUFFER argument to vc-BACKEND-print-log |
| @@ -7,7 +12,7 @@ | |||
| 7 | (vc-version-diff, vc-diff-internal): Doc fixes. | 12 | (vc-version-diff, vc-diff-internal): Doc fixes. |
| 8 | 13 | ||
| 9 | * vc-hooks.el (vc-default-workfile-unchanged-p): If the | 14 | * vc-hooks.el (vc-default-workfile-unchanged-p): If the |
| 10 | implementation supports it, let diff output go to *vc*, | 15 | implementation supports it, let diff output go to *vc*, |
| 11 | not *vc-diff*, since this is an internal call. | 16 | not *vc-diff*, since this is an internal call. |
| 12 | 17 | ||
| 13 | * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Add optional BUFFER | 18 | * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Add optional BUFFER |
| @@ -16,7 +21,7 @@ | |||
| 16 | * vc-rcs.el (vc-rcs-print-log, vc-rcs-diff): Likewise. | 21 | * vc-rcs.el (vc-rcs-print-log, vc-rcs-diff): Likewise. |
| 17 | 22 | ||
| 18 | * vc-sccs.el (vc-sccs-print-log, vc-sccs-diff): Likewise. | 23 | * vc-sccs.el (vc-sccs-print-log, vc-sccs-diff): Likewise. |
| 19 | 24 | ||
| 20 | 2004-03-21 Dave Love <fx@gnu.org> | 25 | 2004-03-21 Dave Love <fx@gnu.org> |
| 21 | 26 | ||
| 22 | * progmodes/cfengine.el (cfengine-mode): Set | 27 | * progmodes/cfengine.el (cfengine-mode): Set |
diff --git a/lisp/format.el b/lisp/format.el index 90047e98a6c..09d3e5fa715 100644 --- a/lisp/format.el +++ b/lisp/format.el | |||
| @@ -416,7 +416,7 @@ The optional third and fourth arguments BEG and END specify | |||
| 416 | the part of the file to read. | 416 | the part of the file to read. |
| 417 | 417 | ||
| 418 | The return value is like the value of `insert-file-contents': | 418 | The return value is like the value of `insert-file-contents': |
| 419 | a list (ABSOLUTE-FILE-NAME . SIZE)." | 419 | a list (ABSOLUTE-FILE-NAME SIZE)." |
| 420 | (interactive | 420 | (interactive |
| 421 | ;; Same interactive spec as write-file, plus format question. | 421 | ;; Same interactive spec as write-file, plus format question. |
| 422 | (let* ((file (read-file-name "Find file: ")) | 422 | (let* ((file (read-file-name "Find file: ")) |
| @@ -429,7 +429,7 @@ a list (ABSOLUTE-FILE-NAME . SIZE)." | |||
| 429 | (setq size (nth 1 value))) | 429 | (setq size (nth 1 value))) |
| 430 | (if format | 430 | (if format |
| 431 | (setq size (format-decode format size) | 431 | (setq size (format-decode format size) |
| 432 | value (cons (car value) size))) | 432 | value (list (car value) size))) |
| 433 | value)) | 433 | value)) |
| 434 | 434 | ||
| 435 | (defun format-read (&optional prompt) | 435 | (defun format-read (&optional prompt) |