| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The testsuite does large use of primitive redefinition, to avoid that
we define `advice-flet' to use instead as an easy `cl-letf'
replacement.
* lisp/emacs-lisp/nadvice.el (advice-flet): New macro.
|
|
|
|
|
|
| |
* lisp/emacs-lisp/comp.el (comp-tampoline-compile): Do not crash
if we can't write in the first entry in `comp-eln-load-path' but
search for another one.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/generic.el (define-generic-mode): Say what a
generic mode is (bug#43713).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lisp/epa-file.el (epa-file--find-file-not-found-function): Do a
user-error when there's a wrong password (bug#43704).
(epa--wrong-password-p): New function.
(epa-file-insert-file-contents): Use it, and stash the error away
for later signalling.
* lisp/emacs-lisp/subr-x.el (if-let): Autoload.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* src/eval.c (Fapply): Handle (apply nil) without crashing.
Document single-argument form.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-apply): Don't attempt
to optimize single-argument apply.
* doc/lispref/functions.texi (Calling Functions): Document
single-argument apply. Provide example (bug#40968).
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/comp.el (comp-emit-cond-jump, comp-emit-switch)
(comp-limplify-block, comp-compute-edges)
(comp-ssa-rename, comp-fwprop*, comp-effective-async-max-jobs)
(comp-run-async-workers): Respect max 80 columns.
(batch-byte-native-compile-for-bootstrap): Improve doc + remove
some now unnecessary error handling.
|
| |
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/comp.el: Rename non nil -> non-nil in doc.
* src/comp.c: Likewise.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
.eln files have been moved so remove the '.eln' match.
* lisp/emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
Likewise.
* lisp/emacs-lisp/find-func.el (find-library-suffixes): Clean-up
as '.eln' is no more in `load-suffixes'.
* lisp/help-fns.el (find-lisp-object-file-name): Clean-up as
`symbol-file' will return the '.elc' file.
* src/lread.c (Fget_load_suffixes): Remove logic as '.eln' is not
anymore in load-suffixes.
(openp): Two spaces.
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* src/fns.c (Fstring_search): Check START-POS argument range.
Simplify logic. Improve doc string.
* test/src/fns-tests.el (string-search): Add test cases.
* doc/lispref/strings.texi (Text Comparison): Elaborate.
* lisp/emacs-lisp/byte-opt.el (pure-fns): Mark string-search as pure.
|
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add
string-search.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/lisp.el (forward-sexp, backward-sexp, forward-list)
(backward-list, down-list, up-list, mark-sexp, kill-sexp)
(backward-kill-sexp): Remove unsightly scan-error when running
interactively and no further movement by sexp can be made (bug#43489).
|
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/lisp.el (delete-pair): Only delete pairs that
are part of `insert-pair-alist' (bug#4136).
|
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/eldoc.el (eldoc--handle-docs): We have one extra
line to use if we don't show the truncation message (bug#43543).
|
| |
| |
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/comp.el (comp-subr-safe-advice): Rename
comp--subr-safe-advice -> comp-subr-safe-advice.
* lisp/emacs-lisp/nadvice.el (advice--add-function): Likewise.
* lisp/emacs-lisp/advice.el (ad-add-advice): Likewise.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* src/comp.c (syms_of_comp): Define and initialize
'Vcomp_installed_trampolines_h'.
(Fcomp__install_trampoline): Fill 'Vcomp_installed_trampolines_h'
* lisp/emacs-lisp/comp.el (comp--subr-safe-advice): Make use of
`comp-installed-trampolines-h' to guard against installing a
trampoline twice.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/nadvice.el (advice--add-function): Call
`comp--subr-safe-advice' when necessary.
* lisp/emacs-lisp/advice.el (ad-add-advice): Likewhise.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a Lisp side entry-point to be called to make primitive adivicing
effective.
* lisp/emacs-lisp/comp.el (comp-trampoline-sym)
(comp-trampoline-filename): New substs.
(comp-make-lambda-list-from-subr, comp-search-trampoline)
(comp-tampoline-compile): New functions
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* lisp/emacs-lisp/find-func.el (find-function-library): Use
`subr-primitive-p'.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Avoid unnecessary memory fragmentation/leakeage
* lisp/emacs-lisp/comp.el (comp-final1): New function.
(comp-final): Invoke `comp-final1' in a child process if in an
interactive session or directly otherwhise.
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* doc/emacs/programs.texi (Lisp Doc): Document it.
* lisp/emacs-lisp/eldoc.el (eldoc-display-truncation-message): New
variable (bug#43543).
(eldoc--handle-docs): Use it.
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
df04f3e755 Fix a rare segfault in syntax.c
fd1fe1e1ec Add doc to syntax-propertize-function saying it must do a ...
fcd599bbea Minor copyedits of doc of 'with-silent-modifications'
759399cdb1 Improve documentation of 'max-mini-window-height'
3223302aa2 Use modern constant names for the NS pasteboard
985703d380 Fix doc string of 'toggle-menu-bar-mode-from-frame'
184a4977c7 Make vc-bzr tests work with brz 3.1 (bug#43314)
# Conflicts:
# lisp/emacs-lisp/syntax.el
# src/syntax.c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and cannot be combined with other ways of applying syntax-table text
properties.
* lisp/emacs-lisp/syntax.el (syntax-propertize-function): Amend doc string.
* doc/lispref/syntax.texi (Syntax Properties): Amend the description of the
variable.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
2020-09-19 Lars Ingebrigtsen <larsi@gnus.org>
* lisp/menu-bar.el (menu-bar-showhide-fringe-menu): Adjust caller.
(menu-bar-search-options-menu): Ditto.
(menu-bar-options-menu): Ditto.
(menu-bar-options-menu): Ditto.
* lisp/progmodes/gdb-mi.el (menu): Ditto.
* lisp/emacs-lisp/find-func.el (find-function-regexp): Add
menu-bar-make-toggle-command.
* lisp/menu-bar.el (menu-bar-make-toggle): Compatibility wrapper.
2020-09-19 Drew Adams <drew.adams@oracle.com>
* lisp/menu-bar.el (menu-bar-make-toggle-command): Add doc string
and allow setting all keywords (bug#17954).
|
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Allow using
Customize on the hooks (bug#10773).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/ewoc.el (ewoc--refresh-node): Save and restore point line
and column offset.
(eowc-map) (ewoc--invalidate) (ewoc-set-hf): Don't use save-excursion
* lisp/vc/vc-dir.el (vc-dir-update): Don't save/restore point on calling
'ewoc-invalidate'.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 82de8ecc080d91dd05f2432d2d07feb2955aeec4.
This patch breaks doing `M-x delete-pair' on "foo" in text-mode.
|
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/autoload.el (autoload-find-generated-file): Use
the correct name for find-file-hook.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/autoload.el (autoload-find-generated-file):
Users may have read-only-mode in find-file-hooks (bug#43460) so
just disable all the hooks here.
|
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/lisp.el (delete-pair): Only delete pairs that
are part of `insert-pair-alist' (bug#4136).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/ert-x.el (ert-simulate-keys): New macro.
* test/lisp/international/mule-tests.el
(mule-cmds--test-universal-coding-system-argument): Use it and enable
the test also in batch mode.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit ed44217d3245ddc8f2cf75c9499d5bb37848cfd7.
This commit broke the use case of `M-x load-library RET o/or TAB' to
expand to org/org.
|
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/comp.el (comp-clean-up-stale-eln): Do not crash
if the eln filename is not canonical (tmp file or manual load).
|
| | |
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/comp.el (comp-hint-fixnum, comp-hint-cons): Add
gv-setters so type hinted expressions can be used as places.
Read we can now have like: '(cl-incf (cl-the fixnum x))'.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These have to be emitted by higher level primitves as `cl-the'.
* lisp/emacs-lisp/comp.el (comp-hint-fixnum, comp-hint-cons): Do
not emit type checks.
|
| | |
| | |
| | |
| | |
| | | |
Define fixnum so `cl-typep' recognize it and the type check emitted by
`cl-the' is effective.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* lisp/emacs-lisp/cl-macs.el: Register cl-optimize into
`defun-declarations-alist' and `macro-declarations-alist'.
(cl--optimize): New function to serve 'cl-optimize' declaration.
|