Function: hash-merge-first-value

hash-merge-first-value is a byte-compiled function defined in hasht.el.

Signature

(hash-merge-first-value VALUE1 VALUE2)

Documentation

Return a copy of VALUE1 for use in a hash table merge.

This is suitable for use as a value of hash-merge-values-function.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hasht.el
(defun hash-merge-first-value (value1 _value2)
  "Return a copy of VALUE1 for use in a hash table merge.

This is suitable for use as a value of `hash-merge-values-function'."
  ;; Copy list so that merged result does not share structure with the
  ;; hash tables being merged.
  (if (listp value1) (copy-sequence value1) value1))