diff options
| author | Glenn Morris | 2014-01-20 15:05:04 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-01-20 15:05:04 -0500 |
| commit | 64295f83c54c66e4ae5ec506043e3a7489e53215 (patch) | |
| tree | 7d6f1beb8e503b224dc0c23e7968adc0ddb89587 | |
| parent | a6c4680aa241f3599a2d7cf93a977c338b52c062 (diff) | |
| download | emacs-64295f83c54c66e4ae5ec506043e3a7489e53215.tar.gz emacs-64295f83c54c66e4ae5ec506043e3a7489e53215.zip | |
Do not document subr-x.el in the manuals
* doc/lispref/hash.texi (Other Hash): Do not mention subr-x.el functions;
reverts 2013-12-22 change.
* lisp/emacs-lisp/subr-x.el: Comment.
* etc/NEWS: Small related edits.
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/hash.texi | 11 | ||||
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/subr-x.el | 3 |
4 files changed, 10 insertions, 15 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 4044e965ae7..78bc55af941 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-01-20 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * hash.texi (Other Hash): Do not mention subr-x.el functions; | ||
| 4 | reverts 2013-12-22 change. | ||
| 5 | |||
| 1 | 2014-01-10 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2014-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * functions.texi (Advising Functions): New section. | 8 | * functions.texi (Advising Functions): New section. |
diff --git a/doc/lispref/hash.texi b/doc/lispref/hash.texi index 5d0d6b6c89e..0c82bb59784 100644 --- a/doc/lispref/hash.texi +++ b/doc/lispref/hash.texi | |||
| @@ -353,14 +353,3 @@ This returns the rehash threshold of @var{table}. | |||
| 353 | @defun hash-table-size table | 353 | @defun hash-table-size table |
| 354 | This returns the current nominal size of @var{table}. | 354 | This returns the current nominal size of @var{table}. |
| 355 | @end defun | 355 | @end defun |
| 356 | |||
| 357 | The following two functions are provided by the @file{subr-x} library. | ||
| 358 | To use them, you need to load this library first. | ||
| 359 | |||
| 360 | @defun hash-table-keys hash-table | ||
| 361 | This returns a list of keys in @var{hash-table}. | ||
| 362 | @end defun | ||
| 363 | |||
| 364 | @defun hash-table-values hash-table | ||
| 365 | This returns a list of values in @var{hash-table}. | ||
| 366 | @end defun | ||
| @@ -1081,12 +1081,10 @@ displaying the buffer in a window. | |||
| 1081 | ** New macro `with-eval-after-load'. | 1081 | ** New macro `with-eval-after-load'. |
| 1082 | This is like the old `eval-after-load', but better behaved. | 1082 | This is like the old `eval-after-load', but better behaved. |
| 1083 | 1083 | ||
| 1084 | ** New library subr-x.el for misc helper functions | 1084 | --- |
| 1085 | +++ | 1085 | ** New library subr-x.el with miscellaneous small utility functions |
| 1086 | *** `hash-table-keys' | 1086 | *** `hash-table-keys' |
| 1087 | +++ | ||
| 1088 | *** `hash-table-values' | 1087 | *** `hash-table-values' |
| 1089 | --- | ||
| 1090 | *** `string-blank-p` | 1088 | *** `string-blank-p` |
| 1091 | *** `string-empty-p` | 1089 | *** `string-empty-p` |
| 1092 | *** `string-join` | 1090 | *** `string-join` |
diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el index 237d42ce4b7..69a7e9f2238 100644 --- a/lisp/emacs-lisp/subr-x.el +++ b/lisp/emacs-lisp/subr-x.el | |||
| @@ -27,6 +27,9 @@ | |||
| 27 | ;; C code (like hash-tables and strings), and are not eligible for inclusion | 27 | ;; C code (like hash-tables and strings), and are not eligible for inclusion |
| 28 | ;; in subr.el. | 28 | ;; in subr.el. |
| 29 | 29 | ||
| 30 | ;; Do not document these functions in the lispref. | ||
| 31 | ;; http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01006.html | ||
| 32 | |||
| 30 | ;;; Code: | 33 | ;;; Code: |
| 31 | 34 | ||
| 32 | (defsubst hash-table-keys (hash-table) | 35 | (defsubst hash-table-keys (hash-table) |