]> git.eshelyaron.com Git - emacs.git/commitdiff
(vhdl-generate-makefile-1): Use add-to-history.
authorKim F. Storm <storm@cua.dk>
Fri, 5 May 2006 23:38:31 +0000 (23:38 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 5 May 2006 23:38:31 +0000 (23:38 +0000)
lisp/progmodes/vhdl-mode.el

index d81a5fcf47b1d662d30006b5b3600f0e79c013ab..987b37cf2c23946e4aebaf07fbe8b9eac1e5ff3c 100644 (file)
@@ -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)))