all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Is there any default way to append hashes?
@ 2021-05-03 15:23 Jean Louis
  2021-05-03 16:17 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Louis @ 2021-05-03 15:23 UTC (permalink / raw)
  To: Help GNU Emacs

I am using this function to append hashes, is there maybe some better
or default method?

(defun hash-append (h1 h2)
  "Append hash H2 to H1 and return H1."
  (maphash (lambda (key value) (puthash key value h1)) h2)
  h1)



Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-03 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-03 15:23 Is there any default way to append hashes? Jean Louis
2021-05-03 16:17 ` Stefan Monnier
2021-05-03 21:30   ` Jean Louis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.