Mercurial > emacs
comparison lisp/files.el @ 64444:15310c1e629c
(basic-save-buffer): Delete duplicate words.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Mon, 18 Jul 2005 15:23:04 +0000 |
parents | 25c498d4b785 |
children | 7deca5e73607 |
comparison
equal
deleted
inserted
replaced
64443:e5507dea35cb | 64444:15310c1e629c |
---|---|
3235 | 3235 |
3236 (defun basic-save-buffer () | 3236 (defun basic-save-buffer () |
3237 "Save the current buffer in its visited file, if it has been modified. | 3237 "Save the current buffer in its visited file, if it has been modified. |
3238 The hooks `write-contents-functions' and `write-file-functions' get a chance | 3238 The hooks `write-contents-functions' and `write-file-functions' get a chance |
3239 to do the job of saving; if they do not, then the buffer is saved in | 3239 to do the job of saving; if they do not, then the buffer is saved in |
3240 the visited file file in the usual way. | 3240 the visited file in the usual way. |
3241 Before and after saving the buffer, this function runs | 3241 Before and after saving the buffer, this function runs |
3242 `before-save-hook' and `after-save-hook', respectively." | 3242 `before-save-hook' and `after-save-hook', respectively." |
3243 (interactive) | 3243 (interactive) |
3244 (save-current-buffer | 3244 (save-current-buffer |
3245 ;; In an indirect buffer, save its base buffer instead. | 3245 ;; In an indirect buffer, save its base buffer instead. |