Function: c-guess-merge-offsets-alists

c-guess-merge-offsets-alists is a byte-compiled function defined in cc-guess.el.gz.

Signature

(c-guess-merge-offsets-alists STRONG WEAK)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-guess.el.gz
(defun c-guess-merge-offsets-alists (strong weak)
  ;; Merge two offsets-alists into one.
  ;; When two offsets-alists have the same symbol
  ;; entry, give STRONG priority over WEAK.
  (mapc
   (lambda (weak-elt)
     (unless (assoc (car weak-elt) strong)
       (setq strong (cons weak-elt strong))))
   weak)
  strong)