diff options
| author | Bastien Guerry | 2008-02-18 12:14:24 +0000 |
|---|---|---|
| committer | Bastien Guerry | 2008-02-18 12:14:24 +0000 |
| commit | f75d05eb65c74e1b17d06e89249d76e4e167724c (patch) | |
| tree | c4747146114f106addd8504b78ac1626e3cf927c | |
| parent | 9f336de0de192e98728b7ad4683767a38ce2150a (diff) | |
| download | emacs-f75d05eb65c74e1b17d06e89249d76e4e167724c.tar.gz emacs-f75d05eb65c74e1b17d06e89249d76e4e167724c.zip | |
* info.el (Info-read-node-name): Removed unused `default' arg.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/info.el | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0092c50471f..ac3e768c1a3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-02-18 Bastien Guerry <Bastien.Guerry@ens.fr> | ||
| 2 | |||
| 3 | * info.el (Info-read-node-name): Removed unused `default' arg. | ||
| 4 | |||
| 1 | 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org> | 5 | 2008-02-18 Thien-Thi Nguyen <ttn@gnuvola.org> |
| 2 | 6 | ||
| 3 | * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs. | 7 | * vc-git.el (vc-git-after-dir-status, vc-git-dir-status): New funcs. |
diff --git a/lisp/info.el b/lisp/info.el index 090e470efec..5bbbd60019e 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -1550,13 +1550,12 @@ PATH-AND-SUFFIXES is a pair of lists, (DIRECTORIES . SUFFIXES)." | |||
| 1550 | 1 | 1550 | 1 |
| 1551 | 0))) | 1551 | 0))) |
| 1552 | 1552 | ||
| 1553 | (defun Info-read-node-name (prompt &optional default) | 1553 | (defun Info-read-node-name (prompt) |
| 1554 | (let* ((completion-ignore-case t) | 1554 | (let* ((completion-ignore-case t) |
| 1555 | (Info-read-node-completion-table (Info-build-node-completions)) | 1555 | (Info-read-node-completion-table (Info-build-node-completions)) |
| 1556 | (nodename (completing-read prompt 'Info-read-node-name-1 nil t))) | 1556 | (nodename (completing-read prompt 'Info-read-node-name-1 nil t))) |
| 1557 | (if (equal nodename "") | 1557 | (if (equal nodename "") |
| 1558 | (or default | 1558 | (Info-read-node-name prompt) |
| 1559 | (Info-read-node-name prompt)) | ||
| 1560 | nodename))) | 1559 | nodename))) |
| 1561 | 1560 | ||
| 1562 | (defun Info-build-node-completions () | 1561 | (defun Info-build-node-completions () |