Subject: 25.0.50; Let MARKER arg to `set-marker' be a number

From: Drew Adams <[email-masked]>
Date: Wed, 5 Aug 2015 10:40:21 -0700 (PDT)

Minor enhancement request.  Let `set-marker' (aka `move-marker') accept
a buffer position that is just a number as its first arg.  IOW, give
`set-marker' this behavior:

(defun new-set-marker (num-or-marker position &optional buffer)
  "..."
  (unless (markerp num-or-marker)
    (setq num-or-marker  (with-current-buffer buffer
                           (copy-marker num-or-marker))))
  (set-marker num-or-marker position buffer))

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2015-07-03 on LEG570
Bzr revision: 2b848fadd51e805b2f46da64c5958ea7f009048a
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --host=i686-pc-mingw32 --enable-checking=yes,glyphs'