2010-06-24 52 views

回答

1

您可以通過此建議獲得該行爲。請注意,我也爲eval-print-last-sexp(又名C-j)工作。如果你不想要那樣的行爲,就從列表中刪除它。

(defadvice eval-expression-print-format (around eepf-tweak-output activate) 
    "tweak output when this-command is eval-last-sexp or eval-print-last-sexp" 
    (let ((last-command (if (memq this-command '(eval-last-sexp eval-print-last-sexp)) 
          this-command 
         last-command))) 
    ad-do-it)) 
相關問題