diff options
| author | Glenn Morris | 2012-02-13 17:46:43 -0500 |
|---|---|---|
| committer | Glenn Morris | 2012-02-13 17:46:43 -0500 |
| commit | 2605051a7f2cb2dbae1a87a34940cc38c682eb1d (patch) | |
| tree | 36906545645166548ac97438f798e6a407869d0a | |
| parent | 20d6487ebbe0f04072c741e29f06d0132e282ff9 (diff) | |
| download | emacs-2605051a7f2cb2dbae1a87a34940cc38c682eb1d.tar.gz emacs-2605051a7f2cb2dbae1a87a34940cc38c682eb1d.zip | |
* lisp/minibuffer.el (read-file-name): Doc fix. (Bug#10798)
* src/gtkutil.c: Related comment.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 13 | ||||
| -rw-r--r-- | src/gtkutil.c | 5 |
3 files changed, 17 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bbbfb8dd000..5c7e8f2e8f8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-02-13 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * minibuffer.el (read-file-name): Doc fix. (Bug#10798) | ||
| 4 | |||
| 1 | 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com> | 5 | 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 6 | ||
| 3 | * net/gnutls.el (gnutls-trustfiles): New variable. | 7 | * net/gnutls.el (gnutls-trustfiles): New variable. |
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 913bfeba0ca..3cdece57e70 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -2011,12 +2011,19 @@ DIR should be an absolute directory name. It defaults to the value of | |||
| 2011 | If this command was invoked with the mouse, use a graphical file | 2011 | If this command was invoked with the mouse, use a graphical file |
| 2012 | dialog if `use-dialog-box' is non-nil, and the window system or X | 2012 | dialog if `use-dialog-box' is non-nil, and the window system or X |
| 2013 | toolkit in use provides a file dialog box, and DIR is not a | 2013 | toolkit in use provides a file dialog box, and DIR is not a |
| 2014 | remote file. For graphical file dialogs, any the special values | 2014 | remote file. For graphical file dialogs, any of the special values |
| 2015 | of MUSTMATCH; `confirm' and `confirm-after-completion' are | 2015 | of MUSTMATCH `confirm' and `confirm-after-completion' are |
| 2016 | treated as equivalent to nil. | 2016 | treated as equivalent to nil. Some graphical file dialogs respect |
| 2017 | a MUSTMATCH value of t, and some do not (or it only has a cosmetic | ||
| 2018 | effect, but does not actually prevent the user from entering a | ||
| 2019 | non-existent file). | ||
| 2017 | 2020 | ||
| 2018 | See also `read-file-name-completion-ignore-case' | 2021 | See also `read-file-name-completion-ignore-case' |
| 2019 | and `read-file-name-function'." | 2022 | and `read-file-name-function'." |
| 2023 | ;; If x-gtk-use-old-file-dialog = t (xg_get_file_with_selection), | ||
| 2024 | ;; then MUSTMATCH is enforced. But with newer Gtk | ||
| 2025 | ;; (xg_get_file_with_chooser), it only has a cosmetic effect. | ||
| 2026 | ;; The user can still type a non-existent file name. | ||
| 2020 | (funcall (or read-file-name-function #'read-file-name-default) | 2027 | (funcall (or read-file-name-function #'read-file-name-default) |
| 2021 | prompt dir default-filename mustmatch initial predicate)) | 2028 | prompt dir default-filename mustmatch initial predicate)) |
| 2022 | 2029 | ||
diff --git a/src/gtkutil.c b/src/gtkutil.c index f7983fdd5a4..1ed5833bd5c 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -1741,8 +1741,9 @@ xg_toggle_notify_cb (GObject *gobject, GParamSpec *arg1, gpointer user_data) | |||
| 1741 | PROMPT is a prompt to show to the user. May not be NULL. | 1741 | PROMPT is a prompt to show to the user. May not be NULL. |
| 1742 | DEFAULT_FILENAME is a default selection to be displayed. May be NULL. | 1742 | DEFAULT_FILENAME is a default selection to be displayed. May be NULL. |
| 1743 | If MUSTMATCH_P is non-zero, the returned file name must be an existing | 1743 | If MUSTMATCH_P is non-zero, the returned file name must be an existing |
| 1744 | file. *FUNC is set to a function that can be used to retrieve the | 1744 | file. (Actually, this only has cosmetic effects, the user can |
| 1745 | selected file name from the returned widget. | 1745 | still enter a non-existing file.) *FUNC is set to a function that |
| 1746 | can be used to retrieve the selected file name from the returned widget. | ||
| 1746 | 1747 | ||
| 1747 | Returns the created widget. */ | 1748 | Returns the created widget. */ |
| 1748 | 1749 | ||