[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 ed8474e 33/64: Clarify the doc of eval-expression
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] emacs-25 ed8474e 33/64: Clarify the doc of eval-expression-print-format |
Date: |
Sun, 01 May 2016 18:18:41 +0000 |
branch: emacs-25
commit ed8474e6ff468b3f395f634c032e8f6cee7b8bde
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Clarify the doc of eval-expression-print-format
* lisp/simple.el (eval-expression-print-format): Doc
clarification (bug#19114).
(cherry picked from commit cd193a871f5a8e1c81ba86fc398ac382fa814383)
---
lisp/simple.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lisp/simple.el b/lisp/simple.el
index 24d2d7f..97b40bd 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1418,10 +1418,11 @@ If nil, don't change the value of `debug-on-error'."
:version "21.1")
(defun eval-expression-print-format (value)
- "Format VALUE as a result of evaluated expression.
-Return a formatted string which is displayed in the echo area
-in addition to the value printed by prin1 in functions which
-display the result of expression evaluation."
+ "If VALUE in an integer, return a specially formatted string.
+This string will typically look like \" (#o1, #x1, ?\\C-a)\".
+If VALUE is not an integer, nil is returned.
+This function is used by functions like `prin1' that display the
+result of expression evaluation."
(if (and (integerp value)
(or (eq standard-output t)
(zerop (prefix-numeric-value current-prefix-arg))))
- [Emacs-diffs] emacs-25 bbda22c 43/64: add-timeout doc fix, (continued)
- [Emacs-diffs] emacs-25 bbda22c 43/64: add-timeout doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 350792e 62/64: global-eldoc-mode doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 6b39501 55/64: Mention with-silent-modifications in the lispref manual, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 69f7940 63/64: cua-prefix-override-inhibit-delay doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 ad5572b 35/64: Fix custom types for cursor-in-non-selected-windows, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 8aa4147 64/64: tramp.texi: Revert last change due to backward compatibility, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 619f1ed 29/64: Move doc of backup-directory-alist to the Backup node, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 c3b3b90 61/64: normal-top-level-add-subdirs-to-load-path doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 2ef780f 34/64: Doc clarification to mwheel-scroll, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 1378680 31/64: Have the doc strings of `load-path' and `require' mention each other, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 ed8474e 33/64: Clarify the doc of eval-expression-print-format,
Lars Ingebrigtsen <=
- [Emacs-diffs] emacs-25 925af7e 27/64: Fill the doc string of font-lock-keywords, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 6d8c2d0 49/64: custom-buffer-style doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 3cbc1e3 07/64: Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]", Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 25b4cf3 56/64: Describe WHEN in all the define-obsolete- macros, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 9f27bcf 60/64: isearch-search-fun-function doc tweak, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 3bc26a7 53/64: clear-visited-file-modtime doc string fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 afb2257 46/64: completion-table-with-predicate doc string fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 d1ab001 58/64: Fmarker_position doc string clarification, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 ef32be6 48/64: Rearrange the doc of query-replace slightly, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 f3f4502 45/64: Fill the completion-table-with-predicate doc string, Lars Ingebrigtsen, 2016/05/01