• Stefan Monnier's avatar
    Merge trivially safe differences from standalone CC-mode. · 03c45536
    Stefan Monnier authored
    * lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
    just to then pass it to `symbol-value'.
    (prog-mode): Provide fallback definition, if needed.
    * lisp/progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
    Remove "cl-" prefix accordingly.
    * lisp/progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
    characterp depending on the type of characters.
    (c-font-lock-enum-tail): Remove unused var `start'.
    * lisp/progmodes/cc-engine.el: Load CL at compile-time.
    (c-declare-lang-variables): Use mapcan.
    (c-append-to-state-cache): Remove unused var `ce+1'.
    (c-parse-state-state): Make buffer-local.
    (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
    (c-just-after-func-arglist-p): Remove unused var `end'.
    * lisp/progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
    (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
    (c-make-keywords-re): Use delete-dups.
    (c-get-current-file): Avoid file-name-base.
    * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
    `close-paren-inserted'.
    * lisp/progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
    03c45536
cc-awk.el 51.6 KB