diff options
| author | Juanma Barranquero | 2008-04-13 01:49:17 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-04-13 01:49:17 +0000 |
| commit | 017c22fe4b4f06e37caae6a405dd9a85016c21d1 (patch) | |
| tree | e471b4e7baedb6bbad82ccb9f22b05b9ed5398fa | |
| parent | 45555ebeed6961214891685f3ee66673ab17c54d (diff) | |
| download | emacs-017c22fe4b4f06e37caae6a405dd9a85016c21d1.tar.gz emacs-017c22fe4b4f06e37caae6a405dd9a85016c21d1.zip | |
(completion--embedded-envvar-table, read-file-name-internal):
Fix typos in 2008-04-11 change.
| -rw-r--r-- | lisp/ChangeLog | 15 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 12 |
2 files changed, 17 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d369eb8cbf4..c3cede9b75a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2008-04-13 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * minibuffer.el (completion--embedded-envvar-table) | ||
| 4 | (read-file-name-internal): Fix typos in 2008-04-11 change. | ||
| 5 | |||
| 6 | * faces.el (read-face-name): Use `completion-table-in-turn', | ||
| 7 | not `complete-in-turn'. | ||
| 8 | |||
| 1 | 2008-04-13 Andreas Schwab <schwab@suse.de> | 9 | 2008-04-13 Andreas Schwab <schwab@suse.de> |
| 2 | 10 | ||
| 3 | * progmodes/etags.el: Require 'cl when compiling. | 11 | * progmodes/etags.el: Require 'cl when compiling. |
| @@ -19,8 +27,7 @@ | |||
| 19 | 27 | ||
| 20 | 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de> | 28 | 2008-04-12 Reiner Steib <Reiner.Steib@gmx.de> |
| 21 | 29 | ||
| 22 | * emacs-lisp/copyright.el (copyright-update-directory): New | 30 | * emacs-lisp/copyright.el (copyright-update-directory): New command. |
| 23 | command. | ||
| 24 | 31 | ||
| 25 | * ediff-wind.el (ediff-split-window-function) | 32 | * ediff-wind.el (ediff-split-window-function) |
| 26 | (ediff-merge-split-window-function): Improve custom type. | 33 | (ediff-merge-split-window-function): Improve custom type. |
| @@ -39,8 +46,8 @@ | |||
| 39 | Mark obsolete name as risky too. | 46 | Mark obsolete name as risky too. |
| 40 | 47 | ||
| 41 | * calendar/calendar.el (calendar-faces): New custom group. | 48 | * calendar/calendar.el (calendar-faces): New custom group. |
| 42 | (calendar-today, diary, holiday): Doc fix. Move to calendar-faces | 49 | (calendar-today, diary, holiday): Doc fix. |
| 43 | group. | 50 | Move to calendar-faces group. |
| 44 | * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time) | 51 | * calendar/diary-lib.el (diary-face, diary-anniversary, diary-time) |
| 45 | (diary-button): Doc fix. Move to calendar-faces group. | 52 | (diary-button): Doc fix. Move to calendar-faces group. |
| 46 | 53 | ||
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 26cbfc12791..f7e14b6d375 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -559,7 +559,7 @@ during running `completion-setup-hook'." | |||
| 559 | "$\\([[:alnum:]_]*\\|{\\([^}]*\\)\\)\\'") | 559 | "$\\([[:alnum:]_]*\\|{\\([^}]*\\)\\)\\'") |
| 560 | string) | 560 | string) |
| 561 | (let* ((beg (or (match-beginning 2) (match-beginning 1))) | 561 | (let* ((beg (or (match-beginning 2) (match-beginning 1))) |
| 562 | (table (completion-make-envvar-table)) | 562 | (table (completion--make-envvar-table)) |
| 563 | (prefix (substring string 0 beg))) | 563 | (prefix (substring string 0 beg))) |
| 564 | (if (eq (aref string (1- beg)) ?{) | 564 | (if (eq (aref string (1- beg)) ?{) |
| 565 | (setq table (apply-partially 'completion-table-with-terminator | 565 | (setq table (apply-partially 'completion-table-with-terminator |
| @@ -567,7 +567,7 @@ during running `completion-setup-hook'." | |||
| 567 | (completion-table-with-context prefix table | 567 | (completion-table-with-context prefix table |
| 568 | (substring string beg) | 568 | (substring string beg) |
| 569 | pred action)))) | 569 | pred action)))) |
| 570 | 570 | ||
| 571 | (defun completion--file-name-table (string dir action) | 571 | (defun completion--file-name-table (string dir action) |
| 572 | "Internal subroutine for read-file-name. Do not call this." | 572 | "Internal subroutine for read-file-name. Do not call this." |
| 573 | (setq dir (expand-file-name dir)) | 573 | (setq dir (expand-file-name dir)) |
| @@ -580,7 +580,7 @@ during running `completion-setup-hook'." | |||
| 580 | (specdir (file-name-directory str)) | 580 | (specdir (file-name-directory str)) |
| 581 | (realdir (if specdir (expand-file-name specdir dir) | 581 | (realdir (if specdir (expand-file-name specdir dir) |
| 582 | (file-name-as-directory dir)))) | 582 | (file-name-as-directory dir)))) |
| 583 | 583 | ||
| 584 | (cond | 584 | (cond |
| 585 | ((null action) | 585 | ((null action) |
| 586 | (let ((comp (file-name-completion name realdir | 586 | (let ((comp (file-name-completion name realdir |
| @@ -595,7 +595,7 @@ during running `completion-setup-hook'." | |||
| 595 | ;; If there's no real completion, but substitute-in-file-name | 595 | ;; If there's no real completion, but substitute-in-file-name |
| 596 | ;; changed the string, then return the new string. | 596 | ;; changed the string, then return the new string. |
| 597 | str)))) | 597 | str)))) |
| 598 | 598 | ||
| 599 | ((eq action t) | 599 | ((eq action t) |
| 600 | (let ((all (file-name-all-completions name realdir))) | 600 | (let ((all (file-name-all-completions name realdir))) |
| 601 | (if (memq read-file-name-predicate '(nil file-exists-p)) | 601 | (if (memq read-file-name-predicate '(nil file-exists-p)) |
| @@ -621,8 +621,8 @@ during running `completion-setup-hook'." | |||
| 621 | (funcall (or read-file-name-predicate 'file-exists-p) str))))))) | 621 | (funcall (or read-file-name-predicate 'file-exists-p) str))))))) |
| 622 | 622 | ||
| 623 | (defalias 'read-file-name-internal | 623 | (defalias 'read-file-name-internal |
| 624 | (completion-table-in-turn 'completion-embedded-envvar-table | 624 | (completion-table-in-turn 'completion--embedded-envvar-table |
| 625 | 'completion-file-name-table) | 625 | 'completion--file-name-table) |
| 626 | "Internal subroutine for `read-file-name'. Do not call this.") | 626 | "Internal subroutine for `read-file-name'. Do not call this.") |
| 627 | 627 | ||
| 628 | (provide 'minibuffer) | 628 | (provide 'minibuffer) |