* lisp/url/url-cache.el (url-cache-create-filename-using-md5): Don't waste your

time `requiring' a builtin feature.
* lisp/subr.el (internal--called-interactively-p--get-frame): Remove
left-over message.
This commit is contained in:
Stefan Monnier 2013-02-03 11:13:36 -05:00
parent 4813c453b2
commit 37a5665636
3 changed files with 5 additions and 2 deletions

View file

@ -3979,7 +3979,6 @@ the number of frames to skip (minus 1).")
(defvar ,sym)
(unless (boundp ',sym)
(let ((i 1))
(message "Computing base-index")
(while (not (eq (indirect-function (nth 1 (backtrace-frame i)) t)
(indirect-function 'called-interactively-p)))
(setq i (1+ i)))

View file

@ -1,3 +1,8 @@
2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
* url-cache.el (url-cache-create-filename-using-md5): Don't waste your
time `requiring' a builtin feature.
2012-12-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
* url-http.el (url-http-end-of-document-sentinel): Bind relevant

View file

@ -149,7 +149,6 @@ The actual return value is the last modification time of the cache file."
(defun url-cache-create-filename-using-md5 (url)
"Create a cached filename using MD5.
Very fast if you have an `md5' primitive function, suitably fast otherwise."
(require 'md5)
(if url
(let* ((checksum (md5 url))
(urlobj (url-generic-parse-url url))