Mercurial > emacs
changeset 23999:8c46e3a0623e
(custom-save-delete): Don't delete whitespace
and comments before the sexp that is replaced.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 06 Jan 1999 08:40:50 +0000 |
parents | 6a6bb17fba97 |
children | 2de7db40964d |
files | lisp/cus-edit.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/cus-edit.el Wed Jan 06 08:09:27 1999 +0000 +++ b/lisp/cus-edit.el Wed Jan 06 08:40:50 1999 +0000 @@ -3102,6 +3102,8 @@ (goto-char (point-min)) (catch 'found (while t + ;; Skip all whitespace and comments. + (while (forward-comment 1)) (let ((start (point)) (sexp (condition-case nil (read (current-buffer))