diff options
| author | Richard M. Stallman | 1998-03-14 08:15:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-03-14 08:15:36 +0000 |
| commit | 024ae2c6d64223961a029c7ac17d9ba209bace72 (patch) | |
| tree | 1151ce957058e04d4ed2cf358e04d7d5a159c7e2 | |
| parent | a55340a857c0887ddb50e3d81b73c22d3d291d31 (diff) | |
| download | emacs-024ae2c6d64223961a029c7ac17d9ba209bace72.tar.gz emacs-024ae2c6d64223961a029c7ac17d9ba209bace72.zip | |
(save-match-data): store-match-data => set-match-data.
(store-match-data): This is now the alias,
set-match-data is now the primitive.
(momentary-string-display): Pass t as UPDATE to window-end.
| -rw-r--r-- | lisp/subr.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index ba3d1317768..b3ad3560eeb 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -543,7 +543,7 @@ Please convert your programs to use the variable `baud-rate' directly." | |||
| 543 | (defalias 'search-forward-regexp (symbol-function 're-search-forward)) | 543 | (defalias 'search-forward-regexp (symbol-function 're-search-forward)) |
| 544 | (defalias 'search-backward-regexp (symbol-function 're-search-backward)) | 544 | (defalias 'search-backward-regexp (symbol-function 're-search-backward)) |
| 545 | (defalias 'int-to-string 'number-to-string) | 545 | (defalias 'int-to-string 'number-to-string) |
| 546 | (defalias 'set-match-data 'store-match-data) | 546 | (defalias 'store-match-data 'set-match-data) |
| 547 | 547 | ||
| 548 | ;;; Should this be an obsolete name? If you decide it should, you get | 548 | ;;; Should this be an obsolete name? If you decide it should, you get |
| 549 | ;;; to go through all the sources and change them. | 549 | ;;; to go through all the sources and change them. |
| @@ -825,7 +825,7 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there." | |||
| 825 | (insert-before-markers string) | 825 | (insert-before-markers string) |
| 826 | (setq insert-end (point)) | 826 | (setq insert-end (point)) |
| 827 | ;; If the message end is off screen, recenter now. | 827 | ;; If the message end is off screen, recenter now. |
| 828 | (if (< (window-end) insert-end) | 828 | (if (< (window-end nil t) insert-end) |
| 829 | (recenter (/ (window-height) 2))) | 829 | (recenter (/ (window-height) 2))) |
| 830 | ;; If that pushed message start off the screen, | 830 | ;; If that pushed message start off the screen, |
| 831 | ;; scroll to start it at the top of the screen. | 831 | ;; scroll to start it at the top of the screen. |
| @@ -993,7 +993,7 @@ in BODY." | |||
| 993 | `(let ((save-match-data-internal (match-data))) | 993 | `(let ((save-match-data-internal (match-data))) |
| 994 | (unwind-protect | 994 | (unwind-protect |
| 995 | (progn ,@body) | 995 | (progn ,@body) |
| 996 | (store-match-data save-match-data-internal)))) | 996 | (set-match-data save-match-data-internal)))) |
| 997 | 997 | ||
| 998 | (defun match-string (num &optional string) | 998 | (defun match-string (num &optional string) |
| 999 | "Return string of text matched by last search. | 999 | "Return string of text matched by last search. |