summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emacs-lisp/package.el (package-built-in-p): Treat a min-version ofStefan Monnier2014-03-281-1/+1
| | | | 0 like nil.
* lisp/emacs-lisp/package-x.el: Follow-up to change in package.el.Juanma Barranquero2014-03-271-12/+6
| | | | | (package--archive-contents-from-url): Use url-insert-file-contents; package-handle-response no longer exists.
* * lisp/emacs-lisp/package.el: Fix bug#16733 (again).Juanma Barranquero2014-03-261-39/+10
| | | | | | | | | | | | | (url-http-parse-response, url-http-end-of-headers, url-recreate-url) (url-http-target-url): Remove unused declarations. (package-handle-response): Remove. (package--with-work-buffer): Use url-insert-file-contents and simplify. (package--download-one-archive): Use current-buffer instead of dynamic binding of `buffer'. (describe-package-1): Do not decode readme-string. * lisp/url/url-handlers.el (url-http-parse-response): Add autoload. (url-insert-file-contents): Signal file-error in case of HTTP error.
* Fix bug#16762Dmitry Gutov2014-03-251-10/+8
| | | | | | | | * lisp/emacs-lisp/package.el (package--add-to-archive-contents): Include already installed and built-in packages in `package-archive-contents'. (package-install): Don't include already installed packages in the options on interactive invocation.
* Backport &key-parsing improvement from trunkDaniel Colascione2014-03-241-2/+1
|
* * lisp/emacs-lisp/package.el (package-show-package-list): If the bufferDmitry Gutov2014-03-231-2/+5
| | | | is already displayed in another window, switch to that window.
* Fix keyword argument parsing. Please bootstrap.Daniel Colascione2014-03-221-1/+2
|
* Fix bug#16873Dmitry Gutov2014-03-221-1/+1
| | | | | * lisp/emacs-lisp/package.el (package-desc): Use the contents of the quoted form, not its cdr.
* Fix bug#16826Dmitry Gutov2014-03-211-2/+2
| | | | | | | * lisp/emacs-lisp/package.el (package-compute-transaction): Use `version-list-<=' to compare the requirement version against the package version already to be installed. Update the error message.
* * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Try harder to findStefan Monnier2014-03-201-4/+12
| | | | | | | | | | | the docstring of functions advised before dumping. * src/doc.c (store_function_docstring): Warn when we don't know where to put a docstring. (Fsubstitute_command_keys): Don't advertise the fact that text-properties are dropped, since we think it's a bug that we'll fix in 24.5. Fixes: debbugs:16993
* lisp/emacs-lisp/package.el (describe-package-1): Decode commentary (bug#16733).Juanma Barranquero2014-03-191-1/+2
|
* * lisp/emacs-lisp/nadvice.el (advice--interactive-form): New function.Stefan Monnier2014-03-171-18/+16
| | | | | | (advice--make-interactive-form): Use it to avoid (auto)loading function. (advice--make-1, advice-add, advice-remove): Remove braindead :advice-pending hack.
* Fix debbugs#16971Dmitry Gutov2014-03-171-7/+2
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Set `comment-use-syntax' to t to avoid the unnecessary runtime check. Set `comment-start-skip' to a simpler value that doesn't try to check if the semicolon is escaped (this is handled by `syntax-ppss' now). * lisp/progmodes/scheme.el (scheme-mode-variables): Same.
* * package.el (package-menu-mode-map): Replace use of obsolete function alias.Glenn Morris2014-03-141-1/+1
| | | | Tweak menu item text.
* Move some help functions from help-fns.el to help.el, which is preloaded.Glenn Morris2014-03-131-1/+0
| | | | | | | | | | | | | | They are now needed by eg the function `documentation' in some circumstances. * lisp/help-fns.el (help-split-fundoc, help-add-fundoc-usage) (help-function-arglist, help-make-usage): Move from here... * lisp/help.el (help-split-fundoc, help-add-fundoc-usage) (help-function-arglist, help-make-usage): ... to here. * lisp/emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns. Fixes: debbugs:17001
* * lisp/emacs-lisp/package.el (package--prepare-dependencies):Tom Willemse2014-03-131-0/+2
| | | | | | Accept requirements without explicit version. Fixes: debbugs:14941
* lisp/emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).Jonas Bernoulli2014-03-121-2/+2
|
* * lisp/emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.Stefan Monnier2014-03-101-4/+9
| | | | | | (advice-add): Add a :advice--pending marker, so advice--make-1 knows when the advice is pending. (advice-remove): Remove this marker when not needed any more.
* * lisp/emacs-lisp/advice.el (ad-add-advice, defadvice): Doc fixGlenn Morris2014-03-101-4/+1
| | | | remove references to deleted info nodes.
* * emacs-lisp/eldoc.el (eldoc-minibuffer-message): ClearLeo Liu2014-03-101-1/+3
| | | | | | eldoc-last-message. Fixes: debbugs:16920
* * lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore dir-locals.Glenn Morris2014-03-051-1/+3
| | | | Fixes: debbugs:12357
* Small smie.el doc and fixGlenn Morris2014-03-041-3/+7
| | | | | | | | * lisp/emacs-lisp/smie.el (smie-config-guess): Doc fix. Explicit error if no grammar. (smie-config-save): Doc fix. Fix quote typo. * etc/NEWS: Related edit.
* Some crm.el docGlenn Morris2014-02-261-45/+17
| | | | | | | | * lisp/emacs-lisp/crm.el: Remove commentary that duplicates doc strings. (crm-default-separator, crm-separator) (completing-read-multiple): Doc fixes. * etc/NEWS: Related edit.
* * emacs-lisp/crm.el (completing-read-multiple): Empower help-enable-auto-load.Glenn Morris2014-02-261-3/+5
|
* * lisp/emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'Dmitry Gutov2014-02-261-2/+4
| | | | | | error from `read-from-string'. Fixes: debbugs:16850
* * lisp/emacs-lisp/ert.el (ert-run-tests-interactively): `read' theDmitry Gutov2014-02-261-5/+6
| | | | | | result of `completing-read' in the interactive form. Fixes: debbugs:16854
* * lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec.Glenn Morris2014-02-251-4/+3
| | | | Fixes: debbugs:16868
* * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.Leo Liu2014-02-241-1/+1
|
* lisp/emacs-lisp/gv.el: Avoid duplicating entries of defun-declaration-alist.Juanma Barranquero2014-02-211-4/+6
|
* * lisp/emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule.Stefan Monnier2014-02-211-1/+1
| | | | Fixes: debbugs:16829
* Some package doc updatesGlenn Morris2014-02-111-6/+10
| | | | | | | | | | | | * doc/emacs/help.texi (Package Keywords): Mention describe-package buttons. * doc/emacs/package.texi (Package Menu): Mention package-menu-filter. * lisp/emacs-lisp/package.el (package-menu-mode-map): Tweak menu. (package-menu-filter): Rename from package-menu-filter-interactive. Doc fix. * etc/NEWS: Related edits. Copyedit.
* * lisp/emacs-lisp/lisp-mnt.el: Comments.Glenn Morris2014-02-101-4/+3
|
* * emacs-lisp/lisp.el (up-list): Doc fix.Lars Ingebrigtsen2014-02-091-0/+10
| | | | Fixes: debbugs:15832
* * lisp/emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.Glenn Morris2014-02-091-1/+2
|
* * lisp/emacs-lisp/lisp-mnt.el: Undocument "FSF" maintainer in commentary.Glenn Morris2014-02-091-4/+1
|
* Replace "Maintainer: FSF" with the emacs-devel mailing addressGlenn Morris2014-02-0930-30/+30
|
* * lisp/emacs-lisp/warnings.el (lwarn): Empower help-enable-auto-load.Glenn Morris2014-02-081-0/+3
| | | | Fixes: debbugs:15940
* "Use instead" obsolescence messages should end with "."Glenn Morris2014-02-061-1/+1
|
* Move iswitchb.el to obsolete/Glenn Morris2014-02-061-1/+1
| | | | | | | | | | | | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00501.html * lisp/obsolete/iswitchb.el: Move to obsolete/. * lisp/simple.el (iswitchb-mode): Add manual autoloads to ease transition, since obsolete/ is not scanned for autoloads. * lisp/emacs-lisp/authors.el (authors-valid-file-names): Add iswitchb.el. * doc/emacs/ack.texi (Acknowledgments): No longer mention obsolete files. * doc/misc/viper.texi (File and Buffer Handling): Prefer ido to iswitchb. * etc/NEWS: Related edits.
* * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't startStefan Monnier2014-02-061-2/+11
| | | | | | | with a space. Limit the symbols considered to the ones that are bound or fbound (bug#16646). Fixes: debbugs:16664
* Define and use `completion-table-merge'Dmitry Gutov2014-02-061-1/+1
| | | | | | | | | * lisp/minibuffer.el (completion-table-merge): New function. * lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Use `completion-table-merge' instead of `completion-table-in-turn'. Fixes: debbugs:16604
* * lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes inAnders Lindgren2014-02-041-1/+1
| | | | | | the names. Fixes: debbugs:16620
* * lisp/help-fns.el (help-C-file-name): Handle advised functions.Stefan Monnier2014-02-012-1/+6
| | | | | | | | * lisp/emacs-lisp/find-func.el (find-function-C-source): Idem. * lisp/emacs-lisp/nadvice.el (advice--cd*r): New function. * help-fns.el (describe-function-1): Use it. Fixes: debbugs:16478
* trace.el doc updatesGlenn Morris2014-01-301-19/+28
| | | | | | | | | * lisp/emacs-lisp/trace.el (trace--read-args, trace-function-foreground) (trace-function-background): Doc fixes. Commentary update for this package now using nadvice.el, not advice.el. * etc/NEWS: Related edits.
* Auto-commit of loaddefs files.Glenn Morris2014-01-301-1/+1
|
* * etc/NEWS: ElDoc related edit.Glenn Morris2014-01-291-0/+1
| | | | * lisp/emacs-lisp/eldoc.el: Related commentary.
* Replace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'Glenn Morris2014-01-292-5/+5
| | | | | | | | | | | * lisp/hexl.el (hexl-mode-hook): * lisp/ielm.el (ielm-mode-hook): * lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook) (lisp-interaction-mode-hook): * lisp/progmodes/cfengine.e (cfengine3-documentation-function): Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'. * lisp/emacs-lisp/eldoc.el: Same in commentary.
* * eieio-opt.el (eieio-help-generic): Fix last change.Stefan Monnier2014-01-291-1/+1
| | | | Fixes: debbugs:16584
* * lisp/emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'Stefan Monnier2014-01-291-1/+1
| | | | | | is a symbol. Fixes: debbugs:16584
* Silence byte-compiler warning.Juanma Barranquero2014-01-241-3/+1
| | | | | * emacs-lisp/bytecomp.el (byte-compile-file): Remove unused local variable `file-name'.