| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(inline--dont-quote): Quote the function with #' when passing it to `apply'.
Cherry picked from commit e6161f648903d821865b9610b3b6aa0f82a5dcb7.
|
|
|
|
|
|
|
|
|
|
|
| |
The accessor functions use the predicate function, which causes problems
when reloading after unload-feature: the compiler-macro property is
still present on the predicate symbol, and the compiler fails to find
the definition when trying to inline it into the accessor
function (Bug#25088).
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Move predicate definition
before field accessor definitions.
|
|
|
|
|
| |
so that it matches the actual implementation.
See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html
|
|
|
|
|
|
|
|
|
|
|
| |
The function `cursor-sensor--detect' calls `bobp' to decide whether to
check properties at (1- (window-point)). However, (window-point) may be
at beginning of buffer, even if (point) is not. In this case an
`args-out-of-range' error will be signaled (Bug#25104).
* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Check the
value of (window-point) against (point-min), rather than (bobp) to
decide if (1- (window-point)) is accessible.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"Don't call debug on failed cl-assert..." removed the call to `debug' in
cl--assertion-failed because `debug' calls `kill-emacs' in batch mode,
thus messing up ert test runs. However, calling the debugger is useful
because it allows catching failed assertions even inside
`condition-case' calls. The problem with ert can be avoided by calling
`debugger' instead of `debug' directly, since ert installs its own
debugger while running tests.
* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Call
`debugger' if `debug-on-error' is non-nil.
|
|
|
|
|
|
|
|
|
|
| |
Doing this causes problems when running ert tests, for
instance (Bug#24778). The call to `debug` when `debug-on-error' is
non-nil was introduced in 2015-02-14 "* lisp/emacs-lisp/cl*.el: Use
define-inline and move some code...".
* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Don't call
`debug' directly.
|
| |
|
| |
|
|
|
|
|
|
| |
* lisp/emacs-lisp/autoload.el (update-directory-autoloads): Ignore
compiled module files. Make sure the extension really ends the
file name.
|
|
|
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/find-func.el (find-library):
* lisp/help-mode.el (help-function-def, help-variable-def):
Run `find-function-after-hook' inside the help-function of the
buttons (bug#22583).
* etc/NEWS: Mention the change.
This is a backport from master.
(cherry picked from commit f069d854508946bcc03e4c77ceb430748e3ab6d7)
|
|
|
|
|
| |
* lisp/emacs-lisp/regexp-opt.el (regexp-opt):
* doc/lispref/searching.texi (Regexp Functions): Update PAREN doc.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/cl-generic.el (cl-generic-apply): New function.
* lisp/emacs-lisp/eieio-compat.el (eieio--defmethod): Fix incorrect
mapping between cl-no-applicable-method and EIEIO's no-applicable-method.
* lisp/emacs-lisp/eieio-core.el (eieio--class-precedence-c3):
`class' is not a symbol but a class object.
|
|
|
|
|
| |
* lisp/emacs-lisp/cl-generic.el (package--builtin-versions):
Add ourselves manually. Don't merge since there's a better fix on master.
|
|
|
|
| |
(package-status-external): Fix face references. (Bug#23927)
|
|
|
|
|
| |
* lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s'
is optional (Bug #23520).
|
|
|
|
|
| |
* lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary
of supported arglist forms (Bug #22462).
|
|
|
|
| |
Avoid mangling autoloads with unspecified arguments. (Bug#21299)
|
|
|
|
| |
Don't rewrite (funcall 'f ...) to (f ...).
|
| |
|
|
|
|
| |
Fix typo. (Bug#23654)
|
|
|
|
| |
Update for symbol-function no longer erroring. (Bug#23626)
|
|
|
|
|
|
|
|
|
|
| |
If the user’s init file is a symbolic link, do not break the link
when initializing the package system. Problem reported by Jackson
Hamilton (Bug#23050).
* lisp/emacs-lisp/package.el (package--ensure-init-file):
Bind find-file-visit-truename when visiting the init file, and
save and restore the buffer name the way cus-edit does in a
similar situation (Bug#454).
|
|
|
|
|
|
| |
Don't change the value of `package-check-signature'.
(package-check-signature): Use `epg-find-configuration'
instead of `executable-find'.
|
|
|
|
|
| |
(package--with-response-buffer): Replace two usages of
`macroexp-let2*' with `let'.
|
|
|
|
|
|
|
| |
Fix some macro locals leaking into body. (Bug#22440)
* test/automated/package-test.el (package-test-signed):
Manually check all possible values of `package-check-signature'.
|
|
|
|
|
|
|
| |
Problem report and fix by Lizzie Dixon (Bug#23513).
* lisp/emacs-lisp/package.el (package--check-signature-content):
Report an error if no good signatures OR if a fatal error. Not AND.
Copyright-paperwork-exempt: yes
|
|
|
|
| |
(find-alias-regexp): Fix :version.
|
|
|
|
|
| |
* lisp/emacs-lisp/package.el (package-install-from-buffer):
Use save-excursion here (bug#22616).
|
|
|
|
|
|
| |
This reverts commit bf3f6a961f378f35a292c41c0bfbdae88ee1b1b9.
(Bug#22616)
|
|
|
|
|
|
|
|
| |
* lisp/help.el (help-add-fundoc-usage): Undo the previous change.
(help--make-usage-docstring): Escape newlines when printing.
* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
Ditto (bug#21839).
|
| |
|
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
Rename from cl--generic-all-functions. Update both callers.
* lisp/cedet/semantic/db-el.el
(semanticdb-find-tags-external-children-of-type-method):
And use it here (bug#23042).
|
| |
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
specific about what "applicable" means (bug#23071).
(cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
Fix up last change.
(define-obsolete-variable-alias): Ditto.
(cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
|
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
Say more verbosely what WHEN is (bug#21225).
(define-obsolete-function-alias): Describe the WHEN parameter.
(define-obsolete-variable-alias): Ditto.
(cherry picked from commit 247c388f160581d207e41ca5926990bbf69d4a0f)
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/timer.el (add-timeout): Mention the return
value (bug#20181).
(cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)
|
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/package.el (package-initialize): Be explicit
in saying that `package-initialize' obviates adjusting the
path or requiring the packages, as this is a question that
apparently comes up now and then (bug#18829).
(cherry picked from commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
COMMAND-CHAR is (bug#18809).
(cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
string to make it less likely that we get overlong lines
(bug#17999).
(cherry picked from commit 323b69664914d687fd4b48593479cea223dfbcb4)
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
Clarify doc string (bug#8693).
(syntax-propertize): Clarify doc string.
(cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)
|
|
|
|
|
| |
* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
* lisp/isearch.el (isearch-update): Remove boundp check.
|
|
|
|
|
| |
* lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
string.
|
|
|
|
|
|
| |
Future-proof against non-time-values.
; Do not merge to master.
|
|
|
|
| |
This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.
|
|
|
|
|
| |
* lisp/emacs-lisp/check-declare.el (check-declare-directory): Use
'grep-find-program', not 'find-program'.
|
|
|
|
| |
This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
|
|
|
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress
backups in newly created file.
(autoload-ensure-default-file): Function split into two.
(autoload-ensure-file-writeable): New function from split.
(Bug#23203)
|