Mercurial > emacs
comparison lisp/url/url-http.el @ 110711:895cc3cde68a
url-http.el comment.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 02 Oct 2010 18:30:51 -0700 |
parents | 754df5a0efe9 |
children | ad76d32381df |
comparison
equal
deleted
inserted
replaced
110710:deee083d1b01 | 110711:895cc3cde68a |
---|---|
1 ;;; url-http.el --- HTTP retrieval routines | 1 ;;; url-http.el --- HTTP retrieval routines |
2 | 2 |
3 ;; Copyright (C) 1999, 2001, 2004, 2005, 2006, 2007, 2008, | 3 ;; Copyright (C) 1999, 2001, 2004, 2005, 2006, 2007, 2008, 2009, |
4 ;; 2009, 2010 Free Software Foundation, Inc. | 4 ;; 2010 Free Software Foundation, Inc. |
5 | 5 |
6 ;; Author: Bill Perry <wmperry@gnu.org> | 6 ;; Author: Bill Perry <wmperry@gnu.org> |
7 ;; Keywords: comm, data, processes | 7 ;; Keywords: comm, data, processes |
8 | 8 |
9 ;; This file is part of GNU Emacs. | 9 ;; This file is part of GNU Emacs. |
1265 ;; `after-change-functions' hook in the midst of running them, we fake | 1265 ;; `after-change-functions' hook in the midst of running them, we fake |
1266 ;; an after change by hooking into the process filter and inserting | 1266 ;; an after change by hooking into the process filter and inserting |
1267 ;; the data ourselves. This is slightly less efficient, but there | 1267 ;; the data ourselves. This is slightly less efficient, but there |
1268 ;; were tons of weird ways the after-change code was biting us in the | 1268 ;; were tons of weird ways the after-change code was biting us in the |
1269 ;; shorts. | 1269 ;; shorts. |
1270 ;; FIXME this can probably be simplified since the above is no longer true. | |
1270 (defun url-http-generic-filter (proc data) | 1271 (defun url-http-generic-filter (proc data) |
1271 ;; Sometimes we get a zero-length data chunk after the process has | 1272 ;; Sometimes we get a zero-length data chunk after the process has |
1272 ;; been changed to 'free', which means it has no buffer associated | 1273 ;; been changed to 'free', which means it has no buffer associated |
1273 ;; with it. Do nothing if there is no buffer, or 0 length data. | 1274 ;; with it. Do nothing if there is no buffer, or 0 length data. |
1274 (declare (special url-http-after-change-function)) | 1275 (declare (special url-http-after-change-function)) |