Next: Marker Insertion Types, Previous: Creating Markers, Up: Markers
This section describes the functions for accessing the components of a marker object.
This function returns the position that marker points to, or
nilif it points nowhere.
This function returns the buffer that marker points into, or
nilif it points nowhere.(setq m (make-marker)) ⇒ #<marker in no buffer> (marker-position m) ⇒ nil (marker-buffer m) ⇒ nil (set-marker m 3770 (current-buffer)) ⇒ #<marker at 3770 in markers.texi> (marker-buffer m) ⇒ #<buffer markers.texi> (marker-position m) ⇒ 3770