summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Fix eieio vs cl-generic incompatibilities found in Rudel (bug#23947)Stefan Monnier2016-07-143-3/+13
| | | | | | | | * 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.
* Include cl-generic in package--builtin-versions (bug#22817)Stefan Monnier2016-07-141-0/+5
| | | | | * lisp/emacs-lisp/cl-generic.el (package--builtin-versions): Add ourselves manually. Don't merge since there's a better fix on master.
* * lisp/emacs-lisp/package.el (describe-package-1)Glenn Morris2016-07-131-4/+5
| | | | (package-status-external): Fix face references. (Bug#23927)
* Clarify docstring of find-feature-regexpNoam Postavsky2016-07-091-1/+1
| | | | | * lisp/emacs-lisp/find-func.el (find-feature-regexp): Explain that `%s' is optional (Bug #23520).
* Add details to cl-lib defining macros' docstringsNoam Postavsky2016-07-091-0/+29
| | | | | * lisp/emacs-lisp/cl-macs.el (cl-defun, cl-defmacro): Add terse summary of supported arglist forms (Bug #22462).
* * lisp/emacs-lisp/nadvice.el (advice--make-docstring):Glenn Morris2016-06-131-1/+4
| | | | Avoid mangling autoloads with unspecified arguments. (Bug#21299)
* * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)Stefan Monnier2016-06-111-1/+1
| | | | Don't rewrite (funcall 'f ...) to (f ...).
* * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".Tino Calancha2016-06-071-2/+2
|
* * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):Glenn Morris2016-05-311-1/+1
| | | | Fix typo. (Bug#23654)
* * lisp/emacs-lisp/find-func.el (find-function-library):Glenn Morris2016-05-261-2/+4
| | | | Update for symbol-function no longer erroring. (Bug#23626)
* Do not trash symlinks to init filePaul Eggert2016-05-221-2/+10
| | | | | | | | | | 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).
* * lisp/emacs-lisp/package.el (package-refresh-contents):Artur Malabarba2016-05-201-10/+4
| | | | | | Don't change the value of `package-check-signature'. (package-check-signature): Use `epg-find-configuration' instead of `executable-find'.
* * lisp/emacs-lisp/package.el: Fix free variable warnings.Artur Malabarba2016-05-181-37/+37
| | | | | (package--with-response-buffer): Replace two usages of `macroexp-let2*' with `let'.
* * lisp/emacs-lisp/package.el (package--with-response-buffer):Artur Malabarba2016-05-181-16/+21
| | | | | | | 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'.
* Properly reject malformed or empty package sigsPaul Eggert2016-05-131-1/+1
| | | | | | | 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
* * lisp/emacs-lisp/find-func.el (find-feature-regexp)Glenn Morris2016-05-121-2/+2
| | | | (find-alias-regexp): Fix :version.
* Make package-install-from-buffer not move pointDmitry Gutov2016-05-121-1/+2
| | | | | * lisp/emacs-lisp/package.el (package-install-from-buffer): Use save-excursion here (bug#22616).
* ; Revert "* emacs-lisp/lisp-mnt.el (lm-header): save-excursion"Dmitry Gutov2016-05-121-11/+10
| | | | | | This reverts commit bf3f6a961f378f35a292c41c0bfbdae88ee1b1b9. (Bug#22616)
* Redo the fix for bug#21839Dmitry Gutov2016-05-121-1/+2
| | | | | | | | * 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).
* ; Auto-commit of loaddefs files.Glenn Morris2016-05-101-1/+1
|
* Publicize cl--generic-all-functionsDmitry Gutov2016-05-103-3/+3
| | | | | | | | | * 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).
* ; Spelling fixesPaul Eggert2016-05-011-1/+1
|
* global-eldoc-mode doc fixLars Ingebrigtsen2016-05-011-2/+10
| | | | | | | * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more specific about what "applicable" means (bug#23071). (cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
* Further define-obsolete-* doc fixupsLars Ingebrigtsen2016-05-011-2/+2
| | | | | | | | * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias): Fix up last change. (define-obsolete-variable-alias): Ditto. (cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
* Describe WHEN in all the define-obsolete- macrosLars Ingebrigtsen2016-05-011-2/+8
| | | | | | | | | * 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)
* add-timeout doc fixLars Ingebrigtsen2016-05-011-0/+2
| | | | | | | * lisp/emacs-lisp/timer.el (add-timeout): Mention the return value (bug#20181). (cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)
* Explictly explain that package-initialize loads the packagesLars Ingebrigtsen2016-05-011-1/+4
| | | | | | | | | * 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)
* Doc fix for insert-pair-alistLars Ingebrigtsen2016-05-011-1/+5
| | | | | | | * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what COMMAND-CHAR is (bug#18809). (cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
* Wrap the auto-generated doc stringLars Ingebrigtsen2016-05-011-1/+2
| | | | | | | | * 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)
* Clarify some doc stringsLars Ingebrigtsen2016-05-011-3/+4
| | | | | | | | * 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)
* Autoload cursor-sensor-inhibit (bug#23406)Leo Liu2016-04-301-0/+1
| | | | | * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload. * lisp/isearch.el (isearch-update): Remove boundp check.
* Remove \= from format string (bug#18190)Andreas Schwab2016-04-301-1/+1
| | | | | * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format string.
* * lisp/emacs-lisp/autoload.el (update-directory-autoloads):Glenn Morris2016-04-251-9/+11
| | | | | | Future-proof against non-time-values. ; Do not merge to master.
* Revert "Use 'grep-find-program' in check-declare.el"Eli Zaretskii2016-04-211-1/+1
| | | | This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.
* Use 'grep-find-program' in check-declare.elEli Zaretskii2016-04-161-1/+1
| | | | | * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use 'grep-find-program', not 'find-program'.
* Revert "Prevent bootstrap autoload backup files"Phillip Lord2016-04-121-28/+14
| | | | This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
* Prevent bootstrap autoload backup filesPhillip Lord2016-04-121-14/+28
| | | | | | | | | | * 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)
* Fix last change on 2016-01-02Leo Liu2016-04-111-3/+3
| | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend' which highlights `cl-errs-re' even in comments or strings.
* * lisp/emacs-lisp/package.el: Change from a few days ago needs seq.Glenn Morris2016-04-071-0/+1
| | | | ; Warning 'foo' is not known to be defined is always a bug.
* * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.Glenn Morris2016-04-071-1/+1
| | | | ; The various components of cl-lib are an internal implementation detail.
* * lisp/emacs-lisp/package.el (package-install-selected-packages):Artur Malabarba2016-04-041-11/+15
| | | | Skip unavailable packages.
* Teach M-x disassemble a default argument.Mark Oteiza2016-03-311-3/+7
| | | | | | Adopts default argument in the same way as `describe-function'. * lisp/emacs-lisp/disass.el (disassemble): Default to function at point, if any.
* Fix map-put and map-delete for alists (Bug#23105)Nicolas Petton2016-03-251-26/+10
| | | | | | * lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place expression to a new symbol. * test/lisp/emacs-lisp/map-tests.el: Add a regression test.
* Fix (args-out-of-range 1) error in cursor-sensor--detectLeo Liu2016-03-211-1/+1
| | | | | * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't hard-code (point-min) as 1 which fails in narrowed buffers.
* * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in stringsStefan Monnier2016-03-161-1/+4
| | | | (bug#22960).
* Remove the highlighting support for quoting 'like this' inside Lisp docstringsDmitry Gutov2016-03-061-4/+4
| | | | | | | | | | | Remove the highlighting support for quoting 'like this' inside Lisp docstrings. This part of c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been unintentional, considering substitute-command-keys gives wrong output for such usage. * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2) (lisp-cl-font-lock-keywords-2): Do not highlight text between two straight quotes as symbol.
* Comment on last change to define-derived-modeLeo Liu2016-03-011-1/+7
| | | | * lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
* * lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.Leo Liu2016-02-271-2/+1
|
* Fix white space in last checkinLars Ingebrigtsen2016-02-241-1/+2
|
* Make `insert-pair' always leave the cursor where documentedDima Kogan2016-02-241-2/+4
| | | | | | | * lisp/emacs-lisp/lisp.el (insert-pair): The docstring of insert-pair states that after insertion, the point ends up after the opening character. This was not true if the pair was inserted to surround a region (bug#16949).