summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Quieten compilation, eg in --without-x builds.Glenn Morris2015-05-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dired-aux.el (lpr-printer-switch): * lisp/frame.el (tool-bar-height): * lisp/linum.el (font-info): * lisp/window.el (font-info, overflow-newline-into-fringe) (tool-bar-height): * lisp/emacs-lisp/package-x.el (tar-data-buffer): * lisp/gnus/gnus-util.el (iswitchb-mode): * lisp/mail/rmailmm.el (libxml-parse-html-region): * lisp/net/nsm.el (gnutls-peer-status) (gnutls-peer-status-warning-describe): * lisp/net/shr.el (libxml-parse-xml-region): * lisp/url/url-http.el (gnutls-peer-status): Declare.
* | ; Auto-commit of loaddefs files.Glenn Morris2015-05-081-1/+1
| |
* | * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.Glenn Morris2015-05-071-0/+3
| |
* | * lisp/emacs-lisp/subr-x.el (if-let): Fix debug specArtur Malabarba2015-05-071-1/+2
| | | | | | | | Support the case when BINDINGS is a single tuple. (Bug#20525)
* | * lisp/emacs-lisp/package.el: New "external" package statusArtur Malabarba2015-05-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An external package is any installed package that's not built-in and not from `package-user-dir', which usually means it's from an entry in `package-directory-list'. They are treated much like built-in packages, in that they cannot be through the Package Menu deleted and are not considered for upgrades. (package-desc-status): Identify if a package is installed outside `package-user-dir'. (package-menu--print-info-simple) (package-menu--status-predicate): Add support for it. * etc/NEWS: Document it.
* | (define-modify-macro): Make sure cl--arglist-args is definedStefan Monnier2015-05-061-0/+3
| | | | | | | | | | * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure cl--arglist-args is defined (bug#20517).
* | * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)Stefan Monnier2015-05-061-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/testcover.el: Use lexical-binding. (testcover--read): Rename from testcover-read. Change calling convention. Use edebug-read-and-maybe-wrap-form now that edebug-read is gone. (testcover-start): Use add-function. Move edebug-all-defs binding to testcover--read. (testcover-this-defun): Tighten scope of edebug-all-defs binding. (testcover-mark): Remove unused var `item'. * src/lread.c (syms_of_lread): Default load-read-function to `read'.
* | ; Auto-commit of loaddefs files.Glenn Morris2015-05-061-1/+1
| |
* | Minor declare-function improvementGlenn Morris2015-05-051-5/+11
| | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-macroexpand-declare-function): Handle declarations after calls. (Bug#20509)
* | * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)Stefan Monnier2015-05-051-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (semantic-grammar--template-expand): New function. (semantic-grammar-header, semantic-grammar-footer): Use it. (semantic-grammar--lex-block-specs): Remove unused var `block-spec'. (semantic-grammar-file-regexp): Refine regexp. (semantic-grammar-eldoc-get-macro-docstring): Use elisp-get-fnsym-args-string when available. (semantic-idle-summary-current-symbol-info): Use new elisp-* names instead of the old eldoc-* names. * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back from elisp-mode.el. Tweak calling convention. * lisp/progmodes/elisp-mode.el (package-user-dir): Declare. (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from elisp--get-fnsym-args-string. (elisp--highlight-function-argument): Add `prefix' arg. (elisp-get-var-docstring): Rename from elisp--get-var-docstring. (elisp--docstring-format-sym-doc): Move back to eldoc.el.
* | Merge branch 'seq-let'Nicolas Petton2015-05-051-2/+46
|\ \
| * | Add support for &rest in `seq-let'Nicolas Petton2015-05-051-13/+22
| | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest' in the argument list. * test/automated/seq-tests.el: Add a test for parsing and binding `&rest' in `seq-let'.
| * | * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.Nicolas Petton2015-05-051-1/+1
| | |
| * | New macro seq-let, providing destructuring support to seq.elNicolas Petton2015-05-011-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar to `cl-destructuring-bind' but works on all sequence types supported by `seq.el'. Bump version number to 1.6. * test/automated/seq-tests.el: Add tests for seq-let. * doc/lispref/sequences.texi: Add documentation for seq-let.
* | | Spelling fixesPaul Eggert2015-05-051-2/+2
| | |
* | | * eieio-custom.el (eieio-object-value-get): Add missing increment(tiny change) Pierre Lorenzon2015-05-051-0/+7
| | | | | | | | | | | | Fixes: debbugs:20467
* | | (eieio-object-value-create): Adjust to new slots representation(tiny change) Pierre Lorenzon2015-05-051-3/+4
| | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:20467 * eieio-custom.el (eieio-object-value-create): Fix missed adjustment to new representation of slots metadata.
* | | * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.Glenn Morris2015-05-041-1/+2
| | |
* | | * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):Glenn Morris2015-05-041-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (epg-signature-status): Fix declarations.
* | | * lisp/emacs-lisp/check-declare.el (check-declare-verify):Glenn Morris2015-05-041-2/+3
| | | | | | | | | | | | Handle cl-defgeneric, cl-defmethod.
* | | * lisp/emacs-lisp/package.el: Remove `package--silence' variableArtur Malabarba2015-05-041-32/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | (package-import-keyring, package-refresh-contents) (package-compute-transaction, package--save-selected-packages) (package-install-from-archive, package-delete) (package-menu--perform-transaction): Use `inhibit-message' instead. (package--compile): Set `warning-minimum-level' to :error.
* | | * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.Nicolas Petton2015-05-021-0/+1
| | |
* | | * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)Glenn Morris2015-05-011-0/+7
| | | | | | | | | | | | (help-fns--signature): Declare.
* | | * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.Glenn Morris2015-05-011-0/+3
| | |
* | | ; Add class name to error messagePrzemysław Wojnowski2015-05-011-1/+1
|/ / | | | | | | | | * lisp/emacs-lisp/eieio-core.el (eieio-oref): Add class name to error message to ease finding offending code.
* | * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.Glenn Morris2015-05-011-1/+1
| |
* | * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"Artur Malabarba2015-05-011-44/+19
| | | | | | | | | | | | | | This reverts commit 9a7ddde977378cb5276a81476ae458889c403267. This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d. With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'". (Bug#20445).
* | * lisp/emacs-lisp/ert.el (ert--special-operator-p):Glenn Morris2015-04-301-1/+1
| | | | | | | | Update for 2015-02-08 change to indirect-function.
* | Silence some compilation warningsGlenn Morris2015-04-301-0/+2
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/check-declare.el (compilation-forget-errors): * lisp/emulation/cua-base.el (delete-active-region): * lisp/net/net-utils.el (w32-get-console-output-codepage): * lisp/term/ns-win.el (ns-own-selection-internal) (ns-disown-selection-internal, ns-selection-owner-p) (ns-selection-exists-p, ns-get-selection): Declare for compiler..
* | Function declaration updates prompted by 'make check-declare'Glenn Morris2015-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (lm-homepage): * lisp/gnus/gnus-util.el (iswitchb-read-buffer): * lisp/gnus/mm-decode.el (libxml-parse-html-region): * lisp/gnus/mml.el (libxml-parse-html-region): * lisp/gnus/nnrss.el (libxml-parse-html-region): * lisp/net/eww.el (libxml-parse-html-region): * lisp/net/shr.el (libxml-parse-html-region): * lisp/vc/vc-bzr.el (vc-annotate-convert-time): * lisp/vc/vc-cvs.el (vc-annotate-convert-time): * lisp/vc/vc-git.el (vc-annotate-convert-time): * lisp/vc/vc-hg.el (vc-annotate-convert-time): * lisp/vc/vc-mtn.el (vc-annotate-convert-time): * lisp/vc/vc-rcs.el (vc-annotate-convert-time): Update declaration.
* | * lisp/emacs-lisp/package.el: Some speed optimizations on menu refreshArtur Malabarba2015-04-302-31/+39
| | | | | | | | | | | | | | | | | | | | (package-menu--print-info): Obsolete. (package-menu--print-info-simple): New function. (package-menu--refresh): Use it, simplify code, and improve performance. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Tiny performance improvement.
* | * lisp/emacs-lisp/package.el (package--message): inhibit-messageArtur Malabarba2015-04-301-4/+3
| |
* | * lisp/emacs-lisp/package.el: Use pushnew for downloads in progressArtur Malabarba2015-04-301-3/+3
| | | | | | | | | | | | (package--download-and-read-archives): Use pushnew instead of append. If something terrible happened during a previous download, simply refreshing should now make things work again.
* | * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'Artur Malabarba2015-04-291-3/+2
| | | | | | | | | | (byte-compile--message): Use `inhibit-message' instead of hiding the previous message with (message nil).
* | * lisp/emacs-lisp/package.el: Fix priority-hiding corner caseArtur Malabarba2015-04-281-29/+40
| | | | | | | | | | | | | | (package-menu--refresh): Delegate obsolete-hiding to `package--remove-hidden'. (package--remove-hidden): Disregard high-priority package if it is older than the installed one.
* | * lisp/emacs-lisp/package.el: Skip space and comments in init fileArtur Malabarba2015-04-281-0/+5
| | | | | | | | | | | | (package--ensure-init-file): Insert snippet at first non-whitespace non-comments line. Respects local-vars at the top of the file.
* | Bump version of seq.el to 1.5Nicolas Petton2015-04-271-4/+2
| | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value from seq-doseq. Bump version number of seq.el.
* | * lisp/emacs-lisp/package.el: Small improvementsArtur Malabarba2015-04-271-2/+3
| | | | | | | | | | | | (package--with-work-buffer-async): More informative error. (package-install-user-selected-packages): Rename to `package-install-selected-packages'.
* | * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix lastStefan Monnier2015-04-271-2/+8
| | | | | | | | | | * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change. (eieio--class-make): Remove leftover `tag'.
* | * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.Stefan Monnier2015-04-271-6/+6
| |
* | lisp/emacs-lisp/package.el: Move variables to silence byte-compilerStefan Monnier2015-04-261-24/+12
| | | | | | | | Remove redundant ":group 'package".
* | * lisp/emacs-lisp/package.el (package-all-keywords): Don't cacheArtur Malabarba2015-04-251-10/+4
| | | | | | | | (package--all-keywords): Deleted variable.
* | Spelling fixesPaul Eggert2015-04-241-1/+1
| |
* | * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.Nicolas Petton2015-04-241-2/+2
| |
* | * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the codeStefan Monnier2015-04-241-17/+17
| | | | | | | | | | | | | | (seq-doseq): Fix out-of-scope binding. Don't call `seq-length at every iteration. Reduce `if's from 3 to 2 per iteration. (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
* | * lisp/emacs-lisp/package.el: Hide lower-priority packages in menuArtur Malabarba2015-04-221-4/+59
| | | | | | | | | | | | | | | | | | (package-menu-hide-low-priority): New variable, see its doc. (package-archive-priorities): Update doc. (package-desc-priority): New function. (package-desc-priority-version): Use it. (package--remove-hidden): New function. (package-menu--refresh): Use it.
* | * lisp/emacs-lisp/package.el: Implement displaying obsolete packagesArtur Malabarba2015-04-221-14/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (package-menu--hide-obsolete): New variable. (package--remove-hidden): Use it. (package-menu-hide-obsolete): New interactive function to toggle the variable. (package--quick-help-keys): Document it. (package-menu-async): Add :version tag. (package-menu-mode-map): Bind package-menu-hide-obsolete. (package-desc-status): Indicate non-installed obsolete packages as avail-obso. (package-menu-mark-install): Allow installation of avail-obso. (package-menu--status-predicate): Sort avail-obso with available.
* | Fix byte-compiler warnings about looking-back.Stefan Monnier2015-04-203-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/log-view.el (log-view-end-of-defun-1): * lisp/textmodes/tex-mode.el (latex-forward-sexp-1): * lisp/textmodes/reftex-ref.el (reftex-goto-label): * lisp/textmodes/bibtex.el (bibtex-insert-kill): * lisp/progmodes/sh-script.el (sh--maybe-here-document): * lisp/progmodes/ruby-mode.el (ruby-end-of-defun): * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p): * lisp/org/org.el (org-insert-heading, org-sort-entries): * lisp/org/org-mouse.el (org-mouse-end-headline) (org-mouse-context-menu): * lisp/org/org-clock.el (org-clock-cancel): * lisp/man.el (Man-default-man-entry): * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text) (rmail-ensure-blank-line): * lisp/mail/footnote.el (Footnote-delete-footnote): * lisp/mail/emacsbug.el (report-emacs-bug): * lisp/info.el (Info-follow-reference, Info-fontify-node): * lisp/info-look.el (info-lookup-guess-custom-symbol): * lisp/help-fns.el (help-fns--key-bindings): * lisp/files.el (hack-local-variables): * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete) (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file) (viper-complete-filename-or-exit): * lisp/emulation/viper-cmd.el (viper-backward-indent): * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent): * lisp/emacs-lisp/elint.el (elint-get-top-forms): * lisp/cus-edit.el (custom-face-edit-value-create): * lisp/calendar/todo-mode.el (todo-set-item-priority) (todo-filter-items-1, todo-convert-legacy-files) (todo-prefix-overlays): Add explicit second arg to looking-back.
* | * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywordsArtur Malabarba2015-04-201-6/+19
| | | | | | | | | | | | | | | | (package-menu-filter): Accept a list of keywords. (package--all-keywords): New variable to cache known keywords. (package-all-keywords): Populate it if necessary. (package-refresh-contents): Reset it.
* | * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywordsArtur Malabarba2015-04-201-6/+8
| | | | | | | | | | | | | | | | (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx" as special keywords which match agains package archive and status respectively. * etc/NEWS: Document it.