diff options
author | Paul Pogonyshev <pogonyshev@gmail.com> | 2016-04-08 14:02:48 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-04-08 15:33:59 -0700 |
commit | a4aa94d0cdffb45723786aa798174e942d509774 (patch) | |
tree | d4a498fd0319d004ef1e42885f1f91e9bc2172a2 /lisp/emacs-lisp/byte-opt.el | |
parent | b2746dbf562dc4821bc111488b0e5b6ca5fc6061 (diff) | |
download | emacs-a4aa94d0cdffb45723786aa798174e942d509774.tar.gz emacs-a4aa94d0cdffb45723786aa798174e942d509774.tar.bz2 emacs-a4aa94d0cdffb45723786aa798174e942d509774.zip |
New primitives sxhash-eq, sxhash-eql
* doc/lispref/hash.texi (Defining Hash), etc/NEWS: Document this.
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns):
Add sxhash-equal, sxhash-eq, sxhash-eql.
* lisp/subr.el (sxhash): Now an alias for sxhash-equal.
* src/fns.c (Fsxhash_eq, Fsxhash_eql): New functions.n
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
-rw-r--r-- | lisp/emacs-lisp/byte-opt.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index b3bf4a58849..dbaf2bc6f6a 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el @@ -1209,8 +1209,9 @@ radians-to-degrees rassq rassoc read-from-string regexp-quote region-beginning region-end reverse round sin sqrt string string< string= string-equal string-lessp string-to-char - string-to-int string-to-number substring sxhash symbol-function - symbol-name symbol-plist symbol-value string-make-unibyte + string-to-int string-to-number substring + sxhash sxhash-equal sxhash-eq sxhash-eql + symbol-function symbol-name symbol-plist symbol-value string-make-unibyte string-make-multibyte string-as-multibyte string-as-unibyte string-to-multibyte tan truncate |