emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 76e1f7d: alist-get: Add optional arg TESTFN


From: Tino Calancha
Subject: Re: [Emacs-diffs] master 76e1f7d: alist-get: Add optional arg TESTFN
Date: Mon, 17 Jul 2017 22:11:09 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)



On Mon, 17 Jul 2017, Nicolas Petton wrote:

Tino Calancha <address@hidden> writes:

+(ert-deftest test-map-put-testfn-alist ()
+  (let ((alist (list (cons "a" 1) (cons "b" 2))))
+    (map-put alist "a" 3 'equal)
                           ^^^^^^
Why not sharp-quoting it?
I use #' or ' depending on my mood that day... but i cannot argue
against sharp-quoting a function, seems better.

By the way, should we bump map.el after my minor fix of a
docstring in:
* lisp/emacs-lisp/map.el (map-put): Fix redundancy in docstring.
(5e2ae74df54d4090c591c79ab13e7713c6654b9c)
?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]