1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00

(read-feature): Don't complete features not loaded from a file (which make

`unload-feature' to fail).
This commit is contained in:
Juanma Barranquero 2006-11-05 20:57:32 +00:00
parent a7b5712cdf
commit cf0f58baee
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-11-05 Juanma Barranquero <lekktu@gmail.com>
* loadhist.el (read-feature): Don't complete features not loaded
from a file (which make `unload-feature' to fail).
2006-11-05 Reiner Steib <Reiner.Steib@gmx.de>
* add-log.el (add-log-time-zone-rule): Mark as safe-local-variable.
@ -10,7 +15,7 @@
2006-11-05 Richard Stallman <rms@gnu.org>
* startup.el (init-file-had-error): Add doc string.
(fancy-splash-text, fancy-splash-head, fancy-splash-tail):
(fancy-splash-text, fancy-splash-head, fancy-splash-tail):
Use fixed-width font for keyboard key descriptions.
* cus-edit.el (custom-save-all): Error if saving in .emacs

View File

@ -119,7 +119,9 @@ return the feature \(symbol\)."
(mapcar (lambda (feature)
(list (symbol-name feature)))
features)
nil t)))
;; Complete only features loaded from a file
#'(lambda (f) (feature-file (intern (car f))))
t)))
(defvaralias 'loadhist-hook-functions 'unload-feature-special-hooks)
(defvar unload-feature-special-hooks