summaryrefslogtreecommitdiff
path: root/lisp/org/ob-emacs-lisp.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2013-01-23 18:58:11 +0000
committerAlan Mackenzie <acm@muc.de>2013-01-23 18:58:11 +0000
commit267eacb5e3ef38b6e1ac70ee5e1922f58d764f15 (patch)
treefc1c7ec1cd6d6ff1f9927924b797cf141f9e01c4 /lisp/org/ob-emacs-lisp.el
parent6d2851de77e7828218bec1bd57779277fa80e129 (diff)
downloademacs-267eacb5e3ef38b6e1ac70ee5e1922f58d764f15.tar.gz
emacs-267eacb5e3ef38b6e1ac70ee5e1922f58d764f15.tar.bz2
emacs-267eacb5e3ef38b6e1ac70ee5e1922f58d764f15.zip
Fix a bug in the state cache mechanism. Refactor this a bit.
cc-engine.el (c-parse-state-get-strategy): Remove the `cache-pos' element from the return value. (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of buffer to enable proper searching from beyond HERE. Amend the test for detecting the sought brace pair. Amend the value written to the "brace desert cache" when the brace isn't found. (c-remove-stale-state-cache): Rename `good-pos' to `start-point', and several other variables analogously. (c-remove-stale-state-cache-backwards): Change `cache-pos' from a parameter to a locally calculated variable. (c-parse-state-1): Change the calling conventions to the two defuns involving `cache-pos'.
Diffstat (limited to 'lisp/org/ob-emacs-lisp.el')
0 files changed, 0 insertions, 0 deletions