From: Kim F. Storm Date: Fri, 5 May 2006 23:38:31 +0000 (+0000) Subject: (vhdl-generate-makefile-1): Use add-to-history. X-Git-Tag: emacs-pretest-22.0.90~2775 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cd80673b1ae580cb71e19e3b7dadc7e69066806;p=emacs.git (vhdl-generate-makefile-1): Use add-to-history. --- diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index d81a5fcf47b..987b37cf2c2 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el @@ -16723,8 +16723,7 @@ specified by a target." (progn (save-buffer) (kill-buffer (current-buffer)) (set-buffer orig-buffer) - (setq file-name-history - (cons makefile-path-name file-name-history))) + (add-to-history 'file-name-history makefile-path-name)) (vhdl-warning-when-idle (format "File not writable: \"%s\"" (abbreviate-file-name makefile-path-name)))