diff options
| author | Richard M. Stallman | 2005-12-27 22:54:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-12-27 22:54:13 +0000 |
| commit | 1af5710156ed2995e14d3aa08ddfdcaa5480d371 (patch) | |
| tree | 6ea187e6703f642e96c4e27f67ad595e0cb362d4 | |
| parent | 51978cac9a00637bcabe81e21beee67b25965624 (diff) | |
| download | emacs-1af5710156ed2995e14d3aa08ddfdcaa5480d371.tar.gz emacs-1af5710156ed2995e14d3aa08ddfdcaa5480d371.zip | |
(set-visited-file-name): Doc fix.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/files.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4e56c1bb12f..560f00341f5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2005-12-27 Richard M. Stallman <rms@gnu.org> | 1 | 2005-12-27 Richard M. Stallman <rms@gnu.org> |
| 2 | 2 | ||
| 3 | * files.el (set-visited-file-name): Doc fix. | ||
| 4 | |||
| 3 | * textmodes/flyspell.el (flyspell-external-point-words): | 5 | * textmodes/flyspell.el (flyspell-external-point-words): |
| 4 | Use local var buffer-scan-pos to advance scan for next misspelling. | 6 | Use local var buffer-scan-pos to advance scan for next misspelling. |
| 5 | Advance it only after we find the misspelling. | 7 | Advance it only after we find the misspelling. |
diff --git a/lisp/files.el b/lisp/files.el index bb2342c2cef..0522f47f15f 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2565,8 +2565,9 @@ However, the mode will not be changed if | |||
| 2565 | 2565 | ||
| 2566 | (defun set-visited-file-name (filename &optional no-query along-with-file) | 2566 | (defun set-visited-file-name (filename &optional no-query along-with-file) |
| 2567 | "Change name of file visited in current buffer to FILENAME. | 2567 | "Change name of file visited in current buffer to FILENAME. |
| 2568 | This also renames the buffer to correspond to the new file. | ||
| 2568 | The next time the buffer is saved it will go in the newly specified file. | 2569 | The next time the buffer is saved it will go in the newly specified file. |
| 2569 | FILENAME nil or an empty string means make buffer not be visiting any file. | 2570 | FILENAME nil or an empty string means mark buffer as not visiting any file. |
| 2570 | Remember to delete the initial contents of the minibuffer | 2571 | Remember to delete the initial contents of the minibuffer |
| 2571 | if you wish to pass an empty string as the argument. | 2572 | if you wish to pass an empty string as the argument. |
| 2572 | 2573 | ||