Commit 940cf42e authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(elp-instrument-package): Don't allow empty prefixes.

parent f4500bec
2001-05-14 Eli Zaretskii <eliz@is.elta.co.il>
* emacs-lisp/elp.el (elp-instrument-package): Don't allow empty
prefixes.
2001-05-14 Gerd Moellmann <gerd@gnu.org> 2001-05-14 Gerd Moellmann <gerd@gnu.org>
   
* hexl.el (hexl-current-address): Print a message when called * hexl.el (hexl-current-address): Print a message when called
......
...@@ -323,6 +323,8 @@ For example, to instrument all ELP functions, do the following: ...@@ -323,6 +323,8 @@ For example, to instrument all ELP functions, do the following:
\\[elp-instrument-package] RET elp- RET" \\[elp-instrument-package] RET elp- RET"
(interactive "sPrefix of package to instrument: ") (interactive "sPrefix of package to instrument: ")
(if (zerop (length prefix))
(error "Instrumenting all Emacs functions would render Emacs unusable."))
(elp-instrument-list (elp-instrument-list
(mapcar (mapcar
'intern 'intern
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment