aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-12-27 22:54:13 +0000
committerRichard M. Stallman2005-12-27 22:54:13 +0000
commit1af5710156ed2995e14d3aa08ddfdcaa5480d371 (patch)
tree6ea187e6703f642e96c4e27f67ad595e0cb362d4
parent51978cac9a00637bcabe81e21beee67b25965624 (diff)
downloademacs-1af5710156ed2995e14d3aa08ddfdcaa5480d371.tar.gz
emacs-1af5710156ed2995e14d3aa08ddfdcaa5480d371.zip
(set-visited-file-name): Doc fix.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/files.el3
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 @@
12005-12-27 Richard M. Stallman <rms@gnu.org> 12005-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.
2568This also renames the buffer to correspond to the new file.
2568The next time the buffer is saved it will go in the newly specified file. 2569The next time the buffer is saved it will go in the newly specified file.
2569FILENAME nil or an empty string means make buffer not be visiting any file. 2570FILENAME nil or an empty string means mark buffer as not visiting any file.
2570Remember to delete the initial contents of the minibuffer 2571Remember to delete the initial contents of the minibuffer
2571if you wish to pass an empty string as the argument. 2572if you wish to pass an empty string as the argument.
2572 2573