with preceding text, if it is short enough to look good that way.
(terpri)
(let ((from (point)))
(pp val)
- (help-xref-on-pp from (point))))))
+ (help-xref-on-pp from (point))
+ (if (< (point) (+ from 20))
+ (save-excursion
+ (goto-char from)
+ (delete-char -1)))))))
(terpri)
(if (local-variable-p variable)
(progn
;; sensible size before prettyprinting. -- fx
(let ((from (point)))
(pp val)
- (help-xref-on-pp from (point))))))
+ (help-xref-on-pp from (point))
+ (if (< (point) (+ from 20))
+ (save-excursion
+ (goto-char from)
+ (delete-char -1)))))))
(terpri)))
(terpri)
(with-current-buffer standard-output