aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Strip trailing whitespaces at the end of converted do blockNobuyoshi Nakada2019-07-252-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-brace-to-do-end): Strip trailing whitespaces at the end of converted do block (bug#36756). https://bugs.ruby-lang.org/issues/16014 https://github.com/syl20bnr/spacemacs/issues/12548
| * | | Clarify in the manual when to use function-key-mapLars Ingebrigtsen2019-07-253-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/efaq.texi (No Escape key): * doc/emacs/msdos-xtra.texi (MS-DOS Keyboard): Change back to function-key-map from local-function-key-map, because these bindings apply to all terminals. * doc/lispref/keymaps.texi (Translation Keymaps): Clarify in what circumstances you may still want to use function-key-map.
| * | | * lisp/vc/vc.el (vc-log-search): Fix docstring (bug#36644).Juri Linkov2019-07-253-4/+19
| | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-log-search): Add docstring.
| * | | Do not treat ~nosuchuser as an absolute file namePaul Eggert2019-07-244-67/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Derived from Ken Brown’s patch (Bug#36502#97). * doc/lispref/files.texi (Relative File Names): * etc/NEWS: Document this. * src/fileio.c (user_homedir): New function. (Fexpand_file_name, file_name_absolute_p): Use it. (search_embedded_absfilename): Simplify via file_name_absolute_p. * test/src/fileio-tests.el (fileio-tests--no-such-user): New test.
| * | | Add `gnus-collect-urls-primary-text'Sam Steingold2019-07-241-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-collect-urls-primary-text): Add defcustom. (gnus-collect-urls): Use it. (gnus-summary-browse-url): Mention it in the docstring.
| * | | Port double-slash test to z/OSPaul Eggert2019-07-244-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/merge-gnulib (GNULIB_MODULES): Add double-slash-root. Emacs was already using this Gnulib module indirectly, so this is merely noting that there is now a direct dependency. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * src/fileio.c (search_embedded_absfilename): Use DOUBLE_SLASH_IS_DISTINCT_ROOT instead of (WINDOWSNT || CYGWIN). Simplify.
| * | | Update from GnulibPaul Eggert2019-07-242-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-07-16 update-copyright: Make it work again * build-aux/config.guess, build-aux/update-copyright: Copy from Gnulib.
| * | | Avoid potential extensive verbosity in gnus-summary-browse-urlSam Steingold2019-07-242-4/+7
| | | | | | | | | | | | | | | | | | | | * lisp/wid-edit.el (widget-move): Accept suppress-echo argument. * lisp/gnus/gnus-sum.el (gnus-collect-urls): Use it.
| * | | Use input-decode-map in the manualsLars Ingebrigtsen2019-07-242-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/edt.texi (Changes): * doc/emacs/custom.texi (Terminal Init): Use input-decode-map instead of local-function-key-map, according to Stefan Monnier.
| * | | Use destructuring in filenotify backend handlersMattias Engdegård2019-07-241-32/+23
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/filenotify.el (file-notify--callback-inotify) (file-notify--callback-kqueue, file-notify--callback-w32notify) (file-notify--callback-gfilenotify, file-notify--callback): Use cl-defun.
| * | | Use defstruct instead of list for filenotify pending-renameMattias Engdegård2019-07-241-22/+33
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/filenotify.el (file-notify--rename): New defstruct. (file-notify--pending-rename): Changed type. (file-notify--handle-event): Adapt to new type.
| * | | Refactor the callback half of filenotify.elMattias Engdegård2019-07-241-162/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split callback code into backend-specific and general parts. Refactor pending event, which is always a rename, to include relevant information only. General clean-up. * lisp/filenotify.el (file-notify--pending-event): Rename. (file-notify--event-watched-file, file-notify--event-file-name) (file-notify--event-file1-name, file-notify--event-cookie): Remove. (file-notify--rename, file-notify--expand-file-name) (file-notify--callback-inotify, file-notify--callback-kqueue) (file-notify--callback-w32notify, file-notify--callback-gfilenotify) (file-notify--call-handler, file-notify--handle-event): New. (file-notify-callback): Split general parts into file-notify--call-handler and file-notify--handle-event. (file-notify--add-watch-inotify, file-notify--add-watch-kqueue) (file-notify--add-watch-w32notify) (file-notify--add-watch-gfilenotify): Use new callbacks.
| * | | Don't use internal filenotify function in testMattias Engdegård2019-07-241-21/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/filenotify-tests.el (file-notify--test-file, file-notify--test-add-watch): New. (file-notify--test-event-test, file-notify--test-event-handler) (file-notify-test02-rm-watch, file-notify-test03-events) (file-notify-test05-file-validity, file-notify-test07-many-events) (file-notify-test08-backup, file-notify-test09-watched-file-in-watched-dir): Avoid using the internal `file-notify--event-watched-file' so that it can be removed from filenotify.el. Instead, pass the file name to the callback as an extra argument; use `file-notify--test-add-watch' instead of `file-notify-add-watch'.
| * | | Local definitions of accessors only used in testMattias Engdegård2019-07-241-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/filenotify-tests.el (file-notify--test-event-file) (file-notify--test-event-file1, file-notify--test-event-test) (file-notify--test-event-handler): Define accessors locally, so that they can be removed from filenotify.el.
| * | | soap-client: Do not double-encode duplicate typesThomas Fitzsimmons2019-07-241-52/+59
| | | | | | | | | | | | | | | | | | | | * lisp/net/soap-client.el (soap-encode-xs-complex-type): Eliminate duplicates from type hierarchy before encoding values.
| * | | soap-client: Encode simple type attributesThomas Fitzsimmons2019-07-241-5/+16
| | | | | | | | | | | | | | | | | | | | * lisp/net/soap-client.el (soap-encode-xs-simple-type-attributes): Encode simple type attributes.
| * | | soap-client: Allow attributes and a valueThomas Fitzsimmons2019-07-241-2/+8
| | | | | | | | | | | | | | | | | | | | * lisp/net/soap-client.el (soap-encode-xs-basic-type): Allow attributes and a value to be specified in the same element.
| * | | * lisp/gnus/gnus-cus.el (gnus-extra-group-parameters): Allow nilAndreas Schwab2019-07-241-1/+4
| | | | | | | | | | | | | | | | for modseq.
| * | | Customizable char-fold with char-fold-symmetric, char-fold-include (bug#35689)Juri Linkov2019-07-234-12/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/search.texi (Lax Search): Document char-fold-symmetric, char-fold-include, char-fold-exclude. * lisp/char-fold.el (char-fold--default-include) (char-fold--default-exclude, char-fold--default-symmetric) (char-fold--previous): New defconsts. (char-fold-include, char-fold-exclude, char-fold-symmetric): New defcustoms. (char-fold-make-table): Use them. (char-fold-update-table): New function called at top-level. * test/lisp/char-fold-tests.el (char-fold--test-no-match-exactly) (char-fold--permutation): New functions. (char-fold--test-without-customization) (char-fold--test-with-customization): New tests.
| * | | Merge pdumper.c and alloc.c builtin symbol testsPaul Eggert2019-07-233-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (c_symbol_p): Move from here ... * src/lisp.h (c_symbol_p): ... to here, and make it more portable to hypothetical platforms where pointers are wider than ptrdiff_t. * src/pdumper.c (dump_builtin_symbol_p): Use c_symbol_p.
| * | | Make "Compiling" in the mode line a clickable commandLars Ingebrigtsen2019-07-231-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/compile.el (compilation-goto-in-progress-buffer): New command. (compilation-in-progress): Don't put the in-progress mode-line marker among the minor modes (because it's not a minor mode), and add a command that allows you to switch to the in-progress compilation buffer (bug#27252).
| * | | Follow decomposition chains when constructing char-fold-tableRobert Pluim2019-07-232-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/char-fold.el (char-fold-make-table): Decompose the decomposition of each character, adding equivalences to the original character, until no more decompositions are left.
| * | | Refer to local-function-key-map in various manualsLars Ingebrigtsen2019-07-235-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/viper.texi (Key Bindings): * doc/misc/efaq.texi (X key translations for Emacs) (No Escape key): * doc/misc/edt.texi (Changes): * doc/emacs/msdos-xtra.texi (MS-DOS Keyboard): * doc/emacs/custom.texi (Terminal Init): Refer to local-function-key-map instead of function-key-map, since the latter isn't supposed to be changed (bug#27490).
| * | | Improve pdumper doc; say unexec is deprecatedPaul Eggert2019-07-2311-42/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Say that pdumping cannot redump unless -batch is used. Say that the traditional unexec dumping method is by default not available, and is deprecated. Don't call dump files "portable", as dump files are not any more portable than the Emacs executables themselves. Just call them "dump files". Similar, prefer "portable dumper" (since the dumper code is portable) to "portable dumping" (since the dump file is not). Be more systematic about calling them "dump files" instead of "dumped images" or whatnot.
| * | | * src/fns.c (hashfn_user_defined): Make sure we always return a fixnum.Stefan Monnier2019-07-231-1/+1
| | | |
| * | | Fix problems in CC Mode with " being entered into a comment at EOB.Alan Mackenzie2019-07-232-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-full-lit-near-cache): Amend the definition such that an element's END element will be nil if the pertinent literal is open at EOB. (c-full-pp-to-literal): Before setting the aforementioned END element, check that we're no longer in a literal. (c-literal-limits): When c-full-pp-to-literal returns a list with a nil END element, replace this by (point-max) to keep the interface of c-literal-limits unchanged. * lisp/progmodes/cc-mode.el (c-after-change-mark-abnormal-strings): Having found a string quote, check it is not inside an unterminated comment (i.e. one at EOB).
| * | | Support "%x" etc. formats on more floatsPaul Eggert2019-07-233-22/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/strings.texi (Formatting Strings): Document this. * src/editfns.c (styled_format): Support %o, %x, and %X on finite floats less than zero or greater than UINTMAX_MAX. * test/src/editfns-tests.el (format-%x-large-float) (read-large-integer, format-%o-negative-float): Adjust tests to match extended behavior. Rename the latter test from format-%o-invalid-float, since the float is no longer invalid. * test/src/editfns-tests.el (format-%x-large-float) (read-large-integer): Test this.
| * | | Tweak performance of cmpfn_profilerPaul Eggert2019-07-221-2/+4
| | | | | | | | | | | | | | | | | | | | * src/profiler.c (cmpfn_profiler): Improve performance when VECTORP (bt1) && EQ (bt1, bt2).
| * | | Avoid overexposing fixnums for hash codesPaul Eggert2019-07-223-23/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following a suggestion by Stefan Monnier in: https://lists.gnu.org/r/emacs-devel/2019-07/msg00530.html * doc/lispref/hash.texi (Creating Hash, Defining Hash): * src/fns.c (Fsxhash_eq, Fsxhash_eql, Fsxhash_equal, Fmake_hash_table): Don’t insist that hash codes be fixnums, reverting the recent doc changes to the contrary. * src/bytecode.c (exec_byte_code): Special-case only the eq case, as the others aren’t worth tuning now that we treat bignum hashes like fixnums. * src/fns.c (hashfn_user_defined): If the hash code is a bignum, reduce its hash down to a fixnum.
| * | | Document normal usage in ibuffer.elStefan Kangas2019-07-221-73/+51
| | | | | | | | | | | | | | | | | | | | * lisp/ibuffer.el (Commentary): Document normal usage. (Bug#5608) Remove redundant :group args.
| * | | Do not pdump user-defined hashtabsPaul Eggert2019-07-223-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | * src/pdumper.c (dump_hash_table_stable_p): Signal an error if a hash table has user-defined tests (Bug#36769). * src/fns.c (hashfn_user_defined): Now extern.
| * | | Keep track of consing while GC’s inhibitedPaul Eggert2019-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (allow_garbage_collection): Do not discard the count of consing that occurred while GC was inhibited. Problem and initial fix reported by Pip Cet in: https://lists.gnu.org/r/emacs-devel/2019-07/msg00523.html
| * | | Avoid byte compiler warning for subr.elPip Cet2019-07-221-2/+1
| | | | | | | | | | | | | | | | * lisp/subr.el (number-sequence): Simplify to avoid byte compiler warning.
| * | | Remove no-longer-needed integer overflow codePaul Eggert2019-07-227-43/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calculator.el (calculator-number-to-string): Use truncate, not calculator-truncate, since integer overflow cannot occur here. * lisp/calendar/cal-persia.el (calendar-persian-year-from-absolute): * lisp/gnus/gnus-agent.el (gnus-agent-read-article-number): * lisp/gnus/nnmaildir.el (nnmaildir--group-maxnum) (nnmaildir--new-number): * lisp/scroll-bar.el (scroll-bar-scale): * lisp/simple.el (beginning-of-buffer, end-of-buffer): Simplify, now that integer overflow cannot occur.
| * | | Adjust regexp for parsing IMAP header responseEric Abrahamsen2019-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-transform-headers): The first header might have no value, or a continuation header might start with a newline.
| * | | * lisp/progmodes/opascal.el: Tweak code to ease edebuggingStefan Monnier2019-07-221-513/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (opascal-strings): Inline in its sole use. (opascal-save-excursion): Add Edebug spec. (opascal-is): Remove. Use `memq` directly instead. (opascal--in): New pcase pattern. (opascal-literal-end-pattern): Remove unused function. (opascal--scan-non-whitespace-backward): New macro. (opascal-block-start, opascal-else-start, opascal-is-use-clause-end) (opascal-previous-indent-of, opascal-section-indent-of) (opascal-enclosing-indent-of): Use it. (opascal-corrected-indentation): Presume we're already at first token. (opascal-indent-line): Use indent-line-to. (opascal-new-comment-line): Declare obsolete. (opascal-mode-map): Keep the default M-j binding instead.
| * | | Fix case of IMAP Noselect flagEric Abrahamsen2019-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-get-groups): We should be looking for %Noselect, not %NoSelect.
| * | | Remove some obsolete integer overflow handlingMattias Engdegård2019-07-223-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (number-sequence): * lisp/org/org-gnus.el (org-gnus-follow-link): * lisp/ls-lisp.el (ls-lisp-insert-directory): Remove dead code guarding against integer overflow.
| * | | * lisp/progmodes/opascal.el: Allow inline `var` decl in `for` (bug#36348)Stefan Monnier2019-07-222-2/+17
| | | | | | | | | | | | | | | | (opascal-enclosing-indent-of): Ignore decls "neutered" by delimiter.
* | | | Improve doc strings for some -search-path variablesStephen Leake2019-07-303-8/+11
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (emacs-lisp-compilation-search-path): Improve doc string. * lisp/progmodes/compile.el (compilation-search-path): Improve doc string. * lisp/progmodes/grep.el (grep-search-path): Improve doc string.
* | | Make tramp test regexp more robustMattias Engdegård2019-07-221-1/+1
| | | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory): Match a greater variety of human-readable size values.
* | | Support history files in remote shells (Bug#36742)Michael Albinus2019-07-222-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/misc.texi (Shell Ring): Mention history file for remote shells. * lisp/shell.el (shell--start-prog): New buffer-local variable. (shell): Set it. (shell-mode): Handle history file for remote shells. (Bug#36742)
* | | Handle persistence of windows' scroll bar and fringes settings (Bug#36193)Martin Rudalics2019-07-227-251/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Fringe Size/Pos): Document new argument PERSISTENT of 'set-window-fringes'. (Scroll Bars): Document new argument PERSISTENT of 'set-window-scroll-bars'. Mention that HORIZONTAL-TYPE must be 'bottom' to show a horizontal scroll bar on mini windows. * lisp/window.el (window-min-pixel-height): For mini windows the minimum height is one line. (window--min-size-1): Use value returned by 'window-min-pixel-height' when dealing with mini windows. (window--resize-mini-window): Try to handle horizontal scroll bars and size restrictions more accurately. (window--state-put-2): Handle persistence of scroll bar settings. * src/frame.c (make_frame): Allow horizontal scroll bars in mini windows. (adjust_frame_size): Drop PIXELWISE argument in 'resize_frame_windows' calls. * src/window.c (set_window_buffer): Don't override WINDOW's scroll bar and fringe settings when marked as persistent. (resize_frame_windows): Drop fourth argument PIXELWISE - SIZE is always specified in terms of pixels. Try to handle height of mini windows more accurately. (grow_mini_window, shrink_mini_window): Use body height of mini window when calculating expected height change. Take horizontal scroll bars into account. (struct saved_window): Two new members to handle persistence of window fringes and scroll bars. (Fset_window_configuration, save_window_save): Handle persistence of fringes and scroll bars. (set_window_fringes, set_window_scroll_bars): New arguments PERSISTENT. Make dimension checks more accurate. (Fset_window_fringes): New argument PERSISTENT. (Fwindow_fringes, Fwindow_scroll_bars): Add PERSISTENT to return values. (Fset_window_scroll_bars): New argument PERSISTENT. In doc-string mention that 'bottom' must be specified to get a horizontal scroll bar in mini windows. (compare_window_configurations): Add checks for persistence of fringes and scroll bars. * src/window.h (struct window): New boolean slots 'fringes_persistent' and 'scroll_bars_persistent'. (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Allow horizontal scroll bars for mini windows. (resize_frame_windows): Remove fourth argument of 'resize_frame_windows' in external declaration. * src/xdisp.c (resize_mini_window): Use box text height to tell whether mini window height changed. (set_horizontal_scroll_bar): Set mini window's horizontal scroll bar when its type is specified as 'bottom'. * etc/NEWS: Mention new options for 'set-window-fringes' and 'set-window-scroll-bars'.
* | | Implement C++ Mode attributes. This fixes bug #36650.Alan Mackenzie2019-07-212-34/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-looking-at-c++-attribute) (c-enclosing-c++-attribute, c-slow-enclosing-c++-attribute): New macro and functions. (c-crosses-statement-barrier-p): Add [ into skip-chars for C++ Mode, and use it to detect and skip over an attribute whilst scanning forward. (c-sws-lit-type): Use the new value 'attribute. (c-invalidate-sws-region-before): Put a save-match-data around this function. Detect and handle an enclosing attribute at either END or BEG. (c-invalidate-sws-region-after): Handle C++ attributes. (c-forward-sws, c-backward-sws): Handle C++ attributes. * lisp/progmodes/cc-mode.el (c-fl-decl-end): Detect and handle point being inside a C++ attribute.
* | | Fix lifetime error in previous patchPaul Eggert2019-07-213-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Pip Cet in: https://lists.gnu.org/r/emacs-devel/2019-07/msg00520.html * src/alloc.c (inhibit_garbage_collection): Use new function. (allow_garbage_collection): Accept intmax_t, not pointer. * src/eval.c (default_toplevel_binding, do_one_unbind) (backtrace_eval_unrewind, Fbacktrace__locals, mark_specpdl): Support SPECPDL_UNWIND_INTMAX. (record_unwind_protect_excursion): New function. * src/lisp.h (enum specbind_tag): New constant SPECPDL_UNWIND_INTMAX. (union specbinding): New member unwind_intmax.
* | | Speed up maybe_gc when GC is inhibitedPaul Eggert2019-07-211-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (allow_garbage_collection) (inhibit_garbage_collection): Temporarily bump consing_until_gc, to improve performance of maybe_gc while garbage collection is inhibited. Suggested by Stefan Monnier in: https://lists.gnu.org/r/emacs-devel/2019-07/msg00511.html
* | | Avoid integer overflow in hash table sizePaul Eggert2019-07-211-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/fns.c (INDEX_SIZE_BOUND): Use a tighter bound. (maybe_resize_hash_table): Avoid integer overflow when checking for hash table size overflow. Fix confusion between INDEX_SIZE_BOUND (which is for the index vector) and hash table size. Fix typo in debugging message when ENABLE_CHECKING.
* | | Improve doc for hash tablesPaul Eggert2019-07-212-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/hash.texi (Creating Hash, Defining Hash): * src/fns.c (Fsxhash_eq, Fsxhash_eql, Fsxhash_equal): Say that hashes are fixnums. (Fmake_hash_table): Say that that an integer rehash-size should be a fixnum. * doc/lispref/hash.texi (Defining Hash): Say that hash and comparison functions should be consistent and pure, and should return quickly.
* | | pure_alloc returns cleared memoryPaul Eggert2019-07-211-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (pure_alloc): Clear any heap-allocated storage. This is simpler than auditing all the callers to make sure they don’t assume pure memory is cleared memory, and the performance implication is nonexistent except when Emacs is misconfigured. Also, add an assertion to catch caller misuse when pure space is exhausted.
* | | Make the unflag-p parameter in dired-mark-unmarked-files workLars Ingebrigtsen2019-07-211-3/+6
| | | | | | | | | | | | | | | * lisp/dired-x.el (dired-mark-unmarked-files): Make the unflag-p parameter work (bug#27465).