aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/obarray.el
diff options
context:
space:
mode:
authorNicolas Petton2015-11-11 17:53:41 +0100
committerNicolas Petton2015-11-11 17:53:41 +0100
commit20aea4293439281570c5c05d3f54bc5b261a4d0f (patch)
treeb0f75f7a4ed474607951ac7a41b1511ff86df184 /lisp/obarray.el
parenta3b210129ccf416301f36ec9ab6e624b455db907 (diff)
downloademacs-20aea4293439281570c5c05d3f54bc5b261a4d0f.tar.gz
emacs-20aea4293439281570c5c05d3f54bc5b261a4d0f.zip
Rename obarray-foreach to obarray-map
* lisp/obarray.el (obarray-map): New name. * test/automated/obarray-tests.el: Update the corresponding tests.
Diffstat (limited to 'lisp/obarray.el')
-rw-r--r--lisp/obarray.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/obarray.el b/lisp/obarray.el
index fb7a333b8b5..0e57381a9c5 100644
--- a/lisp/obarray.el
+++ b/lisp/obarray.el
@@ -57,7 +57,7 @@ Creates and adds the symbol if doesn't exist."
57Return t on success, nil otherwise." 57Return t on success, nil otherwise."
58 (unintern name obarray)) 58 (unintern name obarray))
59 59
60(defun obarray-foreach (fn obarray) 60(defun obarray-map (fn obarray)
61 "Call function FN on every symbol in OBARRAY and return nil." 61 "Call function FN on every symbol in OBARRAY and return nil."
62 (mapatoms fn obarray)) 62 (mapatoms fn obarray))
63 63