diff options
author | Alan Mackenzie <acm@muc.de> | 2017-10-30 17:33:03 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2017-10-30 17:33:03 +0000 |
commit | 18331d00da7394f169b842f9e701568fede9b402 (patch) | |
tree | 7fc1d499b9713aa087134914f7ba46dbe700bb8b /lisp/emacs-lisp/autoload.el | |
parent | edde35e6f8c21979035824ae1845c33e0a5e0da0 (diff) | |
download | emacs-18331d00da7394f169b842f9e701568fede9b402.tar.gz emacs-18331d00da7394f169b842f9e701568fede9b402.tar.bz2 emacs-18331d00da7394f169b842f9e701568fede9b402.zip |
Fix "Args out of range" error in c-determine-limit. Fixes bug #28598.
* lisp/progmodes/cc-engine.el (c-determine-limit-get-base): If the candidate
position for BASE is below point-min, scan forward to the end of the current
literal.
(c-determine-limit): Add an extra arm to the final cond form, testing for BASE
being at point-min.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions