diff options
| author | Stefan Monnier | 2001-02-04 20:46:51 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-02-04 20:46:51 +0000 |
| commit | 02399da7a645b1aae59f863a43f82ee346a71797 (patch) | |
| tree | cb01ccab41dce1d5a3b1148a69c28ffa67388ded | |
| parent | 0be908921600c52192a1cde8488e4279a4959c09 (diff) | |
| download | emacs-02399da7a645b1aae59f863a43f82ee346a71797.tar.gz emacs-02399da7a645b1aae59f863a43f82ee346a71797.zip | |
(skeleton-internal-1): Always push the mark for @.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/skeleton.el | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7a7547eb8d6..1f5683ce2fd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2001-02-04 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * skeleton.el (skeleton-internal-1): Always push the mark for @. | ||
| 4 | |||
| 1 | 2001-02-02 Eli Zaretskii <eliz@is.elta.co.il> | 5 | 2001-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 6 | ||
| 3 | * info.el (info-initialize): If installation-directory is nil, for | 7 | * info.el (info-initialize): If installation-directory is nil, for |
diff --git a/lisp/skeleton.el b/lisp/skeleton.el index 9274c3ca8c9..0733f065262 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el | |||
| @@ -451,9 +451,8 @@ automatically, and you are prompted to fill in the variable parts."))) | |||
| 451 | (or skeleton-modified | 451 | (or skeleton-modified |
| 452 | (setq skeleton (cdr skeleton)))) | 452 | (setq skeleton (cdr skeleton)))) |
| 453 | ((eq element '@) | 453 | ((eq element '@) |
| 454 | (if skeleton-point | 454 | (push (point) skeleton-positions) |
| 455 | (push (point) skeleton-positions) | 455 | (unless skeleton-point (setq skeleton-point (point)))) |
| 456 | (setq skeleton-point (point)))) | ||
| 457 | ((eq 'quote (car-safe element)) | 456 | ((eq 'quote (car-safe element)) |
| 458 | (eval (nth 1 element))) | 457 | (eval (nth 1 element))) |
| 459 | ((or (stringp (car-safe element)) | 458 | ((or (stringp (car-safe element)) |