X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/6e9ddbb313cf7db66550f93a74cbba12e39e93c0..01fcc3a532872b29784a4d888ab9cc1aef0eed01:/src/region-cache.h diff --git a/src/region-cache.h b/src/region-cache.h index 7aebdbec26..e4c6b59ee9 100644 --- a/src/region-cache.h +++ b/src/region-cache.h @@ -1,7 +1,7 @@ /* Header file: Caching facts about regions of the buffer, for optimization. -Copyright (C) 1985-1986, 1993, 1995, 2001-2012 - Free Software Foundation, Inc. +Copyright (C) 1985-1986, 1993, 1995, 2001-2013 Free Software Foundation, +Inc. This file is part of GNU Emacs. @@ -40,7 +40,7 @@ along with GNU Emacs. If not, see . */ existing data structure, and disturb as little of the existing code as possible. - So here's the tack. We add some caching to the scan_buffer + So here's the tack. We add some caching to the find_newline function, so that when it searches for a newline, it notes that the region between the start and end of the search contained no newlines; then, the next time around, it consults this cache to see