Skip to main content
added 55 characters in body
Source Link
Quora Feans
  • 515
  • 3
  • 13

When I run (+ 1 1)(+ 1 1) using eval-print-last-sexp in a buffer, itthis function inserts a newline and outputs 2. I'd rather its output were just ' 2' (space and 2).

How can I change this?

When I run (+ 1 1) in a buffer, it inserts a newline and outputs 2. I'd rather its output were just ' 2'.

How can I change this?

When I run (+ 1 1) using eval-print-last-sexp in a buffer, this function inserts a newline and outputs 2. I'd rather its output were just ' 2' (space and 2).

How can I change this?

edited tags
Link
Drew
  • 79.1k
  • 10
  • 123
  • 257
Source Link
Quora Feans
  • 515
  • 3
  • 13

Changing default output of a function

When I run (+ 1 1) in a buffer, it inserts a newline and outputs 2. I'd rather its output were just ' 2'.

How can I change this?