Undo previous change (don't check for eob). Widen at the beginning.
;; Normally this command won't be called at end of line.
;; But when the end of the line is also the end of the buffer,
;; it does get called. For consistency, pretend it was not called.
- (if (eobp)
- (let ((prefix-arg arg))
- (command-execute (lookup-key global-map (this-single-command-keys))))
+ (save-restriction
+ (widen)
(let ((value (get-text-property (point) 'printed-value)))
(when value
(let ((beg (or (previous-single-property-change (min (point-max) (1+ (point)))