diff options
| author | Bartosz Duszel | 2017-04-28 11:25:26 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-04-28 11:25:26 +0300 |
| commit | 6a151cf8d5202ddde5d190dad542dadc26b66b93 (patch) | |
| tree | b5d97ffd1d8bced84ba407819db18e994a08893a | |
| parent | cee4128135d0d9fd6032a0134b649d5fc81370c0 (diff) | |
| download | emacs-6a151cf8d5202ddde5d190dad542dadc26b66b93.tar.gz emacs-6a151cf8d5202ddde5d190dad542dadc26b66b93.zip | |
Don't pass the value of point to 'push-mark', as that's the default.
* lisp/textmodes/bib-mode.el (mark-bib):
* lisp/simple.el (mark-whole-buffer, yank):
* lisp/ses.el (ses--advice-yank, ses-mark-row, ses-mark-column):
* lisp/progmodes/xscheme.el (xscheme-yank):
* lisp/progmodes/verilog-mode.el (verilog-mark-defun):
* lisp/progmodes/perl-mode.el (perl-mark-function):
* lisp/progmodes/pascal.el (pascal-mark-defun):
* lisp/progmodes/meta-mode.el (meta-mark-defun):
* lisp/progmodes/icon.el (mark-icon-function):
* lisp/progmodes/cc-cmds.el (c-mark-function):
* lisp/obsolete/vip.el (ex-goto):
* lisp/obsolete/vi.el (vi-put-before):
* lisp/mouse.el (mouse-yank-primary):
* lisp/menu-bar.el (menu-bar-select-yank):
* lisp/mail/sendmail.el (mail-yank-original):
* lisp/hexl.el (hexl-beginning-of-buffer, hexl-end-of-buffer):
* lisp/emulation/viper-cmd.el (viper-mark-beginning-of-buffer)
(viper-mark-end-of-buffer):
* lisp/cedet/semantic/senator.el (senator-mark-defun):
* lisp/allout.el (allout-mark-topic): Remove unnecessary argument
`(point)' from calls to `push-mark'. (Bug#25565)
| -rw-r--r-- | lisp/allout.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/senator.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 4 | ||||
| -rw-r--r-- | lisp/hexl.el | 4 | ||||
| -rw-r--r-- | lisp/mail/sendmail.el | 2 | ||||
| -rw-r--r-- | lisp/menu-bar.el | 2 | ||||
| -rw-r--r-- | lisp/mouse.el | 2 | ||||
| -rw-r--r-- | lisp/obsolete/vi.el | 2 | ||||
| -rw-r--r-- | lisp/obsolete/vip.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cc-cmds.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/icon.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/meta-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/pascal.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/perl-mode.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/verilog-mode.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/xscheme.el | 2 | ||||
| -rw-r--r-- | lisp/ses.el | 6 | ||||
| -rw-r--r-- | lisp/simple.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/bib-mode.el | 2 |
19 files changed, 28 insertions, 28 deletions
diff --git a/lisp/allout.el b/lisp/allout.el index e837f83ed38..529de85cd42 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -6503,7 +6503,7 @@ not its value." | |||
| 6503 | (let ((inhibit-field-text-motion t)) | 6503 | (let ((inhibit-field-text-motion t)) |
| 6504 | (beginning-of-line)) | 6504 | (beginning-of-line)) |
| 6505 | (allout-goto-prefix-doublechecked) | 6505 | (allout-goto-prefix-doublechecked) |
| 6506 | (push-mark (point)) | 6506 | (push-mark) |
| 6507 | (allout-end-of-current-subtree) | 6507 | (allout-end-of-current-subtree) |
| 6508 | (exchange-point-and-mark)) | 6508 | (exchange-point-and-mark)) |
| 6509 | ;;;_ : UI: | 6509 | ;;;_ : UI: |
diff --git a/lisp/cedet/semantic/senator.el b/lisp/cedet/semantic/senator.el index 407bb05addc..f1918c40918 100644 --- a/lisp/cedet/semantic/senator.el +++ b/lisp/cedet/semantic/senator.el | |||
| @@ -659,7 +659,7 @@ Use semantic tags to navigate." | |||
| 659 | (end (progn (senator-end-of-defun) (point))) | 659 | (end (progn (senator-end-of-defun) (point))) |
| 660 | (start (progn (senator-beginning-of-defun) (point)))) | 660 | (start (progn (senator-beginning-of-defun) (point)))) |
| 661 | (goto-char origin) | 661 | (goto-char origin) |
| 662 | (push-mark (point)) | 662 | (push-mark) |
| 663 | (goto-char end) ;; end-of-defun | 663 | (goto-char end) ;; end-of-defun |
| 664 | (push-mark (point) nil t) | 664 | (push-mark (point) nil t) |
| 665 | (goto-char start) ;; beginning-of-defun | 665 | (goto-char start) ;; beginning-of-defun |
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index aa31fac32cc..831b9c1ac28 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -4346,7 +4346,7 @@ and regexp replace." | |||
| 4346 | (defun viper-mark-beginning-of-buffer () | 4346 | (defun viper-mark-beginning-of-buffer () |
| 4347 | "Mark beginning of buffer." | 4347 | "Mark beginning of buffer." |
| 4348 | (interactive) | 4348 | (interactive) |
| 4349 | (push-mark (point)) | 4349 | (push-mark) |
| 4350 | (goto-char (point-min)) | 4350 | (goto-char (point-min)) |
| 4351 | (exchange-point-and-mark) | 4351 | (exchange-point-and-mark) |
| 4352 | (message "Mark set at the beginning of buffer")) | 4352 | (message "Mark set at the beginning of buffer")) |
| @@ -4354,7 +4354,7 @@ and regexp replace." | |||
| 4354 | (defun viper-mark-end-of-buffer () | 4354 | (defun viper-mark-end-of-buffer () |
| 4355 | "Mark end of buffer." | 4355 | "Mark end of buffer." |
| 4356 | (interactive) | 4356 | (interactive) |
| 4357 | (push-mark (point)) | 4357 | (push-mark) |
| 4358 | (goto-char (point-max)) | 4358 | (goto-char (point-max)) |
| 4359 | (exchange-point-and-mark) | 4359 | (exchange-point-and-mark) |
| 4360 | (message "Mark set at the end of buffer")) | 4360 | (message "Mark set at the end of buffer")) |
diff --git a/lisp/hexl.el b/lisp/hexl.el index b5e9c1ff33d..0a598b22f66 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el | |||
| @@ -730,13 +730,13 @@ If there is no byte at the target address move to the last byte in that line." | |||
| 730 | Leaves `hexl-mark' at previous position. | 730 | Leaves `hexl-mark' at previous position. |
| 731 | With prefix arg N, puts point N bytes of the way from the true beginning." | 731 | With prefix arg N, puts point N bytes of the way from the true beginning." |
| 732 | (interactive "p") | 732 | (interactive "p") |
| 733 | (push-mark (point)) | 733 | (push-mark) |
| 734 | (hexl-goto-address (+ 0 (1- arg)))) | 734 | (hexl-goto-address (+ 0 (1- arg)))) |
| 735 | 735 | ||
| 736 | (defun hexl-end-of-buffer (arg) | 736 | (defun hexl-end-of-buffer (arg) |
| 737 | "Go to `hexl-max-address' minus ARG." | 737 | "Go to `hexl-max-address' minus ARG." |
| 738 | (interactive "p") | 738 | (interactive "p") |
| 739 | (push-mark (point)) | 739 | (push-mark) |
| 740 | (hexl-goto-address (- hexl-max-address (1- arg)))) | 740 | (hexl-goto-address (- hexl-max-address (1- arg)))) |
| 741 | 741 | ||
| 742 | (defun hexl-beginning-of-line () | 742 | (defun hexl-beginning-of-line () |
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 42b688fbabc..12d69aa23c3 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -1677,7 +1677,7 @@ and don't delete any header fields." | |||
| 1677 | ;; Call yank function, and set the mark if it doesn't. | 1677 | ;; Call yank function, and set the mark if it doesn't. |
| 1678 | (apply (car original) (cdr original)) | 1678 | (apply (car original) (cdr original)) |
| 1679 | (if (eq omark (mark t)) | 1679 | (if (eq omark (mark t)) |
| 1680 | (push-mark (point)))) | 1680 | (push-mark))) |
| 1681 | ;; If the original message is in another window in the same | 1681 | ;; If the original message is in another window in the same |
| 1682 | ;; frame, delete that window to save space. | 1682 | ;; frame, delete that window to save space. |
| 1683 | (delete-windows-on original t) | 1683 | (delete-windows-on original t) |
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 719173c7e1e..6befa6d234e 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -1974,7 +1974,7 @@ otherwise it could decide to silently do nothing." | |||
| 1974 | "Insert the stretch of previously-killed text selected from menu. | 1974 | "Insert the stretch of previously-killed text selected from menu. |
| 1975 | The menu shows all the killed text sequences stored in `kill-ring'." | 1975 | The menu shows all the killed text sequences stored in `kill-ring'." |
| 1976 | (interactive "*") | 1976 | (interactive "*") |
| 1977 | (push-mark (point)) | 1977 | (push-mark) |
| 1978 | (insert last-command-event)) | 1978 | (insert last-command-event)) |
| 1979 | 1979 | ||
| 1980 | 1980 | ||
diff --git a/lisp/mouse.el b/lisp/mouse.el index 0f1d4460405..0520fd1ab93 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -1135,7 +1135,7 @@ regardless of where you click." | |||
| 1135 | (deactivate-mark))) | 1135 | (deactivate-mark))) |
| 1136 | (or mouse-yank-at-point (mouse-set-point click)) | 1136 | (or mouse-yank-at-point (mouse-set-point click)) |
| 1137 | (let ((primary (gui-get-primary-selection))) | 1137 | (let ((primary (gui-get-primary-selection))) |
| 1138 | (push-mark (point)) | 1138 | (push-mark) |
| 1139 | (insert-for-yank primary))) | 1139 | (insert-for-yank primary))) |
| 1140 | 1140 | ||
| 1141 | (defun mouse-kill-ring-save (click) | 1141 | (defun mouse-kill-ring-save (click) |
diff --git a/lisp/obsolete/vi.el b/lisp/obsolete/vi.el index 081b229ebca..5b611aa2d04 100644 --- a/lisp/obsolete/vi.el +++ b/lisp/obsolete/vi.el | |||
| @@ -1128,7 +1128,7 @@ text as lines. If the optional after-p is given, put after/below the cursor." | |||
| 1128 | (progn (forward-line 1) (beginning-of-line)) | 1128 | (progn (forward-line 1) (beginning-of-line)) |
| 1129 | (beginning-of-line)) | 1129 | (beginning-of-line)) |
| 1130 | (if after-p (forward-char 1))) | 1130 | (if after-p (forward-char 1))) |
| 1131 | (push-mark (point)) | 1131 | (push-mark) |
| 1132 | (insert put-text) | 1132 | (insert put-text) |
| 1133 | (exchange-point-and-mark) | 1133 | (exchange-point-and-mark) |
| 1134 | ;; (back-to-indentation) ; this is not allowed if we allow yank-pop | 1134 | ;; (back-to-indentation) ; this is not allowed if we allow yank-pop |
diff --git a/lisp/obsolete/vip.el b/lisp/obsolete/vip.el index ca0bfe712cb..4d70d6a5dfc 100644 --- a/lisp/obsolete/vip.el +++ b/lisp/obsolete/vip.el | |||
| @@ -2596,7 +2596,7 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2596 | "ex goto command" | 2596 | "ex goto command" |
| 2597 | (if (null ex-addresses) | 2597 | (if (null ex-addresses) |
| 2598 | (setq ex-addresses (cons (point) nil))) | 2598 | (setq ex-addresses (cons (point) nil))) |
| 2599 | (push-mark (point)) | 2599 | (push-mark) |
| 2600 | (goto-char (car ex-addresses)) | 2600 | (goto-char (car ex-addresses)) |
| 2601 | (beginning-of-line)) | 2601 | (beginning-of-line)) |
| 2602 | 2602 | ||
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 561e6767e12..a5ddcb4b92d 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el | |||
| @@ -2041,7 +2041,7 @@ function does not require the declaration to contain a brace block." | |||
| 2041 | (push-mark-p (and (eq this-command 'c-mark-function) | 2041 | (push-mark-p (and (eq this-command 'c-mark-function) |
| 2042 | (not extend-region-p) | 2042 | (not extend-region-p) |
| 2043 | (not (c-region-is-active-p))))) | 2043 | (not (c-region-is-active-p))))) |
| 2044 | (if push-mark-p (push-mark (point))) | 2044 | (if push-mark-p (push-mark)) |
| 2045 | (if extend-region-p | 2045 | (if extend-region-p |
| 2046 | (progn | 2046 | (progn |
| 2047 | (exchange-point-and-mark) | 2047 | (exchange-point-and-mark) |
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el index 0c699a00e88..92a89fef70b 100644 --- a/lisp/progmodes/icon.el +++ b/lisp/progmodes/icon.el | |||
| @@ -459,9 +459,9 @@ Returns nil if line starts inside a string, t if in a comment." | |||
| 459 | (defun mark-icon-function () | 459 | (defun mark-icon-function () |
| 460 | "Put mark at end of Icon function, point at beginning." | 460 | "Put mark at end of Icon function, point at beginning." |
| 461 | (interactive) | 461 | (interactive) |
| 462 | (push-mark (point)) | 462 | (push-mark) |
| 463 | (end-of-icon-defun) | 463 | (end-of-icon-defun) |
| 464 | (push-mark (point)) | 464 | (push-mark) |
| 465 | (beginning-of-line 0) | 465 | (beginning-of-line 0) |
| 466 | (beginning-of-icon-defun)) | 466 | (beginning-of-icon-defun)) |
| 467 | 467 | ||
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index 3db3b8ad733..33772263884 100644 --- a/lisp/progmodes/meta-mode.el +++ b/lisp/progmodes/meta-mode.el | |||
| @@ -780,7 +780,7 @@ The environment indented is the one that contains point or follows point." | |||
| 780 | "Put mark at end of the environment, point at the beginning. | 780 | "Put mark at end of the environment, point at the beginning. |
| 781 | The environment marked is the one that contains point or follows point." | 781 | The environment marked is the one that contains point or follows point." |
| 782 | (interactive) | 782 | (interactive) |
| 783 | (push-mark (point)) | 783 | (push-mark) |
| 784 | (meta-end-of-defun) | 784 | (meta-end-of-defun) |
| 785 | (push-mark (point) nil t) | 785 | (push-mark (point) nil t) |
| 786 | (meta-beginning-of-defun)) | 786 | (meta-beginning-of-defun)) |
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index bf49ba4a363..a7d0624a74a 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el | |||
| @@ -507,9 +507,9 @@ See also the user variables `pascal-type-keywords', `pascal-start-keywords' and | |||
| 507 | "Mark the current Pascal function (or procedure). | 507 | "Mark the current Pascal function (or procedure). |
| 508 | This puts the mark at the end, and point at the beginning." | 508 | This puts the mark at the end, and point at the beginning." |
| 509 | (interactive) | 509 | (interactive) |
| 510 | (push-mark (point)) | 510 | (push-mark) |
| 511 | (pascal-end-of-defun) | 511 | (pascal-end-of-defun) |
| 512 | (push-mark (point)) | 512 | (push-mark) |
| 513 | (pascal-beg-of-defun) | 513 | (pascal-beg-of-defun) |
| 514 | (when (featurep 'xemacs) | 514 | (when (featurep 'xemacs) |
| 515 | (zmacs-activate-region))) | 515 | (zmacs-activate-region))) |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index b75f32ee200..3def37a2ea8 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el | |||
| @@ -1104,9 +1104,9 @@ With argument, repeat that many times; negative args move backward." | |||
| 1104 | (defun perl-mark-function () | 1104 | (defun perl-mark-function () |
| 1105 | "Put mark at end of Perl function, point at beginning." | 1105 | "Put mark at end of Perl function, point at beginning." |
| 1106 | (interactive) | 1106 | (interactive) |
| 1107 | (push-mark (point)) | 1107 | (push-mark) |
| 1108 | (perl-end-of-function) | 1108 | (perl-end-of-function) |
| 1109 | (push-mark (point)) | 1109 | (push-mark) |
| 1110 | (perl-beginning-of-function) | 1110 | (perl-beginning-of-function) |
| 1111 | (backward-paragraph)) | 1111 | (backward-paragraph)) |
| 1112 | 1112 | ||
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 48ee55500f8..9f3bad1c1a2 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -4212,9 +4212,9 @@ This puts the mark at the end, and point at the beginning." | |||
| 4212 | (interactive) | 4212 | (interactive) |
| 4213 | (if (featurep 'xemacs) | 4213 | (if (featurep 'xemacs) |
| 4214 | (progn | 4214 | (progn |
| 4215 | (push-mark (point)) | 4215 | (push-mark) |
| 4216 | (verilog-end-of-defun) | 4216 | (verilog-end-of-defun) |
| 4217 | (push-mark (point)) | 4217 | (push-mark) |
| 4218 | (verilog-beg-of-defun) | 4218 | (verilog-beg-of-defun) |
| 4219 | (if (fboundp 'zmacs-activate-region) | 4219 | (if (fboundp 'zmacs-activate-region) |
| 4220 | (zmacs-activate-region))) | 4220 | (zmacs-activate-region))) |
diff --git a/lisp/progmodes/xscheme.el b/lisp/progmodes/xscheme.el index 4502c6d33f7..bdfe30af505 100644 --- a/lisp/progmodes/xscheme.el +++ b/lisp/progmodes/xscheme.el | |||
| @@ -580,7 +580,7 @@ See also the commands \\[xscheme-yank-pop] and \\[xscheme-yank-push]." | |||
| 580 | (xscheme-rotate-yank-pointer (if (listp arg) 0 | 580 | (xscheme-rotate-yank-pointer (if (listp arg) 0 |
| 581 | (if (eq arg '-) -1 | 581 | (if (eq arg '-) -1 |
| 582 | (1- arg)))) | 582 | (1- arg)))) |
| 583 | (push-mark (point)) | 583 | (push-mark) |
| 584 | (insert (car xscheme-expressions-ring-yank-pointer)) | 584 | (insert (car xscheme-expressions-ring-yank-pointer)) |
| 585 | (if (consp arg) | 585 | (if (consp arg) |
| 586 | (exchange-point-and-mark))) | 586 | (exchange-point-and-mark))) |
diff --git a/lisp/ses.el b/lisp/ses.el index 0fcd50c9734..fd7174d383d 100644 --- a/lisp/ses.el +++ b/lisp/ses.el | |||
| @@ -3028,7 +3028,7 @@ as symbols." | |||
| 3028 | (eq (get-text-property (point) 'keymap) 'ses-mode-print-map))) | 3028 | (eq (get-text-property (point) 'keymap) 'ses-mode-print-map))) |
| 3029 | (apply yank-fun arg args) ; Normal non-SES yank. | 3029 | (apply yank-fun arg args) ; Normal non-SES yank. |
| 3030 | (ses-check-curcell 'end) | 3030 | (ses-check-curcell 'end) |
| 3031 | (push-mark (point)) | 3031 | (push-mark) |
| 3032 | (let ((text (current-kill (cond | 3032 | (let ((text (current-kill (cond |
| 3033 | ((listp arg) 0) | 3033 | ((listp arg) 0) |
| 3034 | ((eq arg '-) -1) | 3034 | ((eq arg '-) -1) |
| @@ -3295,7 +3295,7 @@ The top row is row 1. Selecting row 0 displays the default header row." | |||
| 3295 | (interactive) | 3295 | (interactive) |
| 3296 | (ses-check-curcell 'range) | 3296 | (ses-check-curcell 'range) |
| 3297 | (let ((row (car (ses-sym-rowcol (or (car-safe ses--curcell) ses--curcell))))) | 3297 | (let ((row (car (ses-sym-rowcol (or (car-safe ses--curcell) ses--curcell))))) |
| 3298 | (push-mark (point)) | 3298 | (push-mark) |
| 3299 | (ses-goto-print (1+ row) 0) | 3299 | (ses-goto-print (1+ row) 0) |
| 3300 | (push-mark (point) nil t) | 3300 | (push-mark (point) nil t) |
| 3301 | (ses-goto-print row 0))) | 3301 | (ses-goto-print row 0))) |
| @@ -3306,7 +3306,7 @@ The top row is row 1. Selecting row 0 displays the default header row." | |||
| 3306 | (ses-check-curcell 'range) | 3306 | (ses-check-curcell 'range) |
| 3307 | (let ((col (cdr (ses-sym-rowcol (or (car-safe ses--curcell) ses--curcell)))) | 3307 | (let ((col (cdr (ses-sym-rowcol (or (car-safe ses--curcell) ses--curcell)))) |
| 3308 | (row 0)) | 3308 | (row 0)) |
| 3309 | (push-mark (point)) | 3309 | (push-mark) |
| 3310 | (ses-goto-print (1- ses--numrows) col) | 3310 | (ses-goto-print (1- ses--numrows) col) |
| 3311 | (forward-char 1) | 3311 | (forward-char 1) |
| 3312 | (push-mark (point) nil t) | 3312 | (push-mark (point) nil t) |
diff --git a/lisp/simple.el b/lisp/simple.el index a58164a1121..edc822eb51e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1104,7 +1104,7 @@ it is usually a mistake for a Lisp function to use any subroutine | |||
| 1104 | that uses or sets the mark." | 1104 | that uses or sets the mark." |
| 1105 | (declare (interactive-only t)) | 1105 | (declare (interactive-only t)) |
| 1106 | (interactive) | 1106 | (interactive) |
| 1107 | (push-mark (point)) | 1107 | (push-mark) |
| 1108 | (push-mark (point-max) nil t) | 1108 | (push-mark (point-max) nil t) |
| 1109 | ;; This is really `point-min' in most cases, but if we're in the | 1109 | ;; This is really `point-min' in most cases, but if we're in the |
| 1110 | ;; minibuffer, this is at the end of the prompt. | 1110 | ;; minibuffer, this is at the end of the prompt. |
| @@ -4860,7 +4860,7 @@ See also the command `yank-pop' (\\[yank-pop])." | |||
| 4860 | ;; If we don't get all the way thru, make last-command indicate that | 4860 | ;; If we don't get all the way thru, make last-command indicate that |
| 4861 | ;; for the following command. | 4861 | ;; for the following command. |
| 4862 | (setq this-command t) | 4862 | (setq this-command t) |
| 4863 | (push-mark (point)) | 4863 | (push-mark) |
| 4864 | (insert-for-yank (current-kill (cond | 4864 | (insert-for-yank (current-kill (cond |
| 4865 | ((listp arg) 0) | 4865 | ((listp arg) 0) |
| 4866 | ((eq arg '-) -2) | 4866 | ((eq arg '-) -2) |
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el index 74d214496e2..2f3c17b3b29 100644 --- a/lisp/textmodes/bib-mode.el +++ b/lisp/textmodes/bib-mode.el | |||
| @@ -181,7 +181,7 @@ with the cdr.") | |||
| 181 | (re-search-backward "^ *$" nil 2) | 181 | (re-search-backward "^ *$" nil 2) |
| 182 | (re-search-forward "^%") | 182 | (re-search-forward "^%") |
| 183 | (beginning-of-line nil) | 183 | (beginning-of-line nil) |
| 184 | (push-mark (point)) | 184 | (push-mark) |
| 185 | (re-search-forward "^ *$" nil 2) | 185 | (re-search-forward "^ *$" nil 2) |
| 186 | (forward-line 1) | 186 | (forward-line 1) |
| 187 | (beginning-of-line nil)) | 187 | (beginning-of-line nil)) |