diff options
author | Bartosz Duszel <bartosz.duszel@gmail.com> | 2017-04-28 11:25:26 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-04-28 11:25:26 +0300 |
commit | 6a151cf8d5202ddde5d190dad542dadc26b66b93 (patch) | |
tree | b5d97ffd1d8bced84ba407819db18e994a08893a /lisp/progmodes/icon.el | |
parent | cee4128135d0d9fd6032a0134b649d5fc81370c0 (diff) | |
download | emacs-6a151cf8d5202ddde5d190dad542dadc26b66b93.tar.gz |
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)
Diffstat (limited to 'lisp/progmodes/icon.el')
-rw-r--r-- | lisp/progmodes/icon.el | 4 |
1 files changed, 2 insertions, 2 deletions
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." (defun mark-icon-function () "Put mark at end of Icon function, point at beginning." (interactive) - (push-mark (point)) + (push-mark) (end-of-icon-defun) - (push-mark (point)) + (push-mark) (beginning-of-line 0) (beginning-of-icon-defun)) |