diff options
Diffstat (limited to 'lisp/ediff-util.el')
-rw-r--r-- | lisp/ediff-util.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el index dff3c6bee61..015e6bfff3e 100644 --- a/lisp/ediff-util.el +++ b/lisp/ediff-util.el @@ -4281,6 +4281,11 @@ Mail anyway? (y or n) ") (setq lis1 (cdr lis1))) (cdr result))) +(defun ediff-add-to-history (history-var newelt) + (if (fboundp 'add-to-history) + (add-to-history history-var newelt) + (set history-var (cons newelt (symbol-value history-var))))) + (if (fboundp 'copy-sequence) (defalias 'ediff-copy-list 'copy-sequence) (defun ediff-copy-list (list) |