aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2017-03-19 12:34:03 -0700
committerPaul Eggert2017-03-19 12:34:03 -0700
commit90f5282e20df79dedaa9d231a108f9a91222eca7 (patch)
tree4b2f648d7209c93fc845c68beccd27b98a51fdac /src
parentc4fca5cee27e3bf399ad23bf42317bffcc80f160 (diff)
parentec4226d81074751c105264a3a3383c48d0a05e41 (diff)
downloademacs-90f5282e20df79dedaa9d231a108f9a91222eca7.tar.gz
emacs-90f5282e20df79dedaa9d231a108f9a91222eca7.zip
Merge from origin/emacs-25
ec4226d * lisp/woman.el (woman): Fix docstring prefix arg description. 2b774fa Mention "editor" in Emacs man page header ae60d0c Document problems with nerd-fonts 2fdb5a9 ; Details about pinning Emacs to w32 task bar 5c3105e * doc/lispref/modes.texi (Derived Modes): Make example more i... 4c51ef4 Clarify what is the "cursor" 8303c32 ; * etc/NEWS: Copyedits. 3f7493e ; Fix a typo in comment c54cf8d Improve commentary in lisp.h 8b92f86 ; * admin/make-tarball.txt: Cross-reference admin/release-pro... 0ba9932 Disable native completion for ipython (Bug#25067) 38fc456 Fix a typo in ada-mode manual 00e75ba ; * src/coding.c (Fencode_coding_region): Fix a typo in the d... a541c21 Clarify documentation of 'bufferpos-to-filepos' and 'filepos-... # Conflicts: # etc/NEWS # etc/PROBLEMS
Diffstat (limited to 'src')
-rw-r--r--src/coding.c4
-rw-r--r--src/lisp.h10
2 files changed, 9 insertions, 5 deletions
diff --git a/src/coding.c b/src/coding.c
index 68ed8629c1c..e341a71f576 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -9399,8 +9399,8 @@ When called from a program, takes four arguments:
9399 START, END, CODING-SYSTEM and DESTINATION. 9399 START, END, CODING-SYSTEM and DESTINATION.
9400START and END are buffer positions. 9400START and END are buffer positions.
9401 9401
9402Optional 4th arguments DESTINATION specifies where the encoded text goes. 9402Optional 4th argument DESTINATION specifies where the encoded text goes.
9403If nil, the region between START and END is replace by the encoded text. 9403If nil, the region between START and END is replaced by the encoded text.
9404If buffer, the encoded text is inserted in that buffer after point (point 9404If buffer, the encoded text is inserted in that buffer after point (point
9405does not move). 9405does not move).
9406In those cases, the length of the encoded text is returned. 9406In those cases, the length of the encoded text is returned.
diff --git a/src/lisp.h b/src/lisp.h
index ab4db4cac02..4b9cd3c4702 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -519,10 +519,14 @@ enum Lisp_Fwd_Type
519 to add a new Lisp_Misc, extend the Lisp_Misc_Type enumeration. 519 to add a new Lisp_Misc, extend the Lisp_Misc_Type enumeration.
520 520
521 For a Lisp_Misc, you will also need to add your entry to union 521 For a Lisp_Misc, you will also need to add your entry to union
522 Lisp_Misc (but make sure the first word has the same structure as 522 Lisp_Misc, but make sure the first word has the same structure as
523 the others, starting with a 16-bit member of the Lisp_Misc_Type 523 the others, starting with a 16-bit member of the Lisp_Misc_Type
524 enumeration and a 1-bit GC markbit) and make sure the overall size 524 enumeration and a 1-bit GC markbit. Also make sure the overall
525 of the union is not increased by your addition. 525 size of the union is not increased by your addition. The latter
526 requirement is to keep Lisp_Misc objects small enough, so they
527 are handled faster: since all Lisp_Misc types use the same space,
528 enlarging any of them will affect all the rest. If you really
529 need a larger object, it is best to use Lisp_Vectorlike instead.
526 530
527 For a new pseudovector, it's highly desirable to limit the size 531 For a new pseudovector, it's highly desirable to limit the size
528 of your data type by VBLOCK_BYTES_MAX bytes (defined in alloc.c). 532 of your data type by VBLOCK_BYTES_MAX bytes (defined in alloc.c).