changeset 70422:84417eaa098c

(vhdl-generate-makefile-1): Use add-to-history.
author Kim F. Storm <storm@cua.dk>
date Fri, 05 May 2006 23:38:31 +0000
parents 47fe68ac1971
children b021bec005d5
files lisp/progmodes/vhdl-mode.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/vhdl-mode.el	Fri May 05 23:38:18 2006 +0000
+++ b/lisp/progmodes/vhdl-mode.el	Fri May 05 23:38:31 2006 +0000
@@ -16723,8 +16723,7 @@
 	  (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)))