]> git.eshelyaron.com Git - emacs.git/commit
Fix Bug#27371
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 24 Jul 2017 17:38:17 +0000 (19:38 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 24 Jul 2017 17:38:17 +0000 (19:38 +0200)
commitf07b12c1d036e50daa25b3a18b13686be6628c4d
tree68b464cc85a7eef708b3045cbcd12f5779298792
parentfe25d0ce8e8b44c3e2ce84ac470822a299199445
Fix Bug#27371

* lisp/loadhist.el (loadhist-unload-element): Declare for
different entry types of `load-history'.
(loadhist--restore-autoload): New variable.
(loadhist--unload-function): New defun.
(unload-feature): Use `loadhist-unload-element'.  Recommended by
Stefan Monnier.  (Bug#27371)

* test/lisp/net/tramp-tests.el (tramp-test39-unload):
Check, that the `tramp-file-name' structure has been unloaded.
lisp/loadhist.el
test/lisp/net/tramp-tests.el