summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.Stefan Monnier2012-11-191-10/+5
|
* * lisp/emacs-lisp/syntax.el (syntax-propertize-function): Doc fix.Chong Yidong2012-11-171-7/+13
| | | | Fixes: debbugs:12810
* Use set-face-underline rather than the alias set-face-underline-pGlenn Morris2012-11-161-1/+1
| | | | | | * lisp/woman.el (woman-non-underline-faces): * lisp/emacs-lisp/cl-lib.el (face-underline-p): Use set-face-underline rather than the alias set-face-underline-p.
* * lisp/emacs-lisp/cl-lib.el: Set more meaningful version number.Stefan Monnier2012-11-161-1/+1
|
* Auto-commit of loaddefs files.Glenn Morris2012-11-161-6/+6
|
* lisp/emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.Juanma Barranquero2012-11-151-3/+3
|
* * lisp/emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring.Stefan Monnier2012-11-151-2/+2
| | | | Fixes: debbugs:12895
* Backport fix for bug#12879 from trunkStefan Monnier2012-11-141-1/+1
| | | | * lisp/emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
* Use new names for hooks rather than obsolete aliasesGlenn Morris2012-11-122-2/+2
| | | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string): * lisp/cedet/semantic/util.el (semantic-describe-buffer): * lisp/cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token) (semantic-default-c-setup): * lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): * lisp/gnus/gnus-diary.el (nndiary-request-create-group-functions) (nndiary-request-update-info-functions) (gnus-subscribe-newsgroup-functions) (nndiary-request-accept-article-functions): * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Use new names for hooks rather than obsolete aliases. * lisp/arc-mode.el: * lisp/emacs-lisp/checkdoc.el: Related comments. * etc/NEWS: Related markup.
* * lisp/emacs-lisp/gv.el (gv-define-simple-setter): One more fix.Stefan Monnier2012-11-121-2/+3
| | | | Fixes: debbugs:12871
* Document debugger-bury-or-killGlenn Morris2012-11-101-3/+3
| | | | | | | | * doc/lispref/debugging.texi (Using Debugger): Mention debugger-bury-or-kill. * lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak. * etc/NEWS: Related edit.
* * lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.Glenn Morris2012-11-101-1/+1
|
* * lisp/emacs-lisp/advice.el: Require `cl-lib' at run-time to fixStefan Monnier2012-11-081-1/+2
| | | | miscompilation of trace.el.
* * lisp/emacs-lisp/gv.el (gv-define-simple-setter): Fix last change.Stefan Monnier2012-11-071-1/+2
| | | | Fixes: debbugs:12812
* More cl-lib and gv doc updatesGlenn Morris2012-11-071-19/+33
| | | | | | | | | | * lisp/emacs-lisp/cl.el (define-setf-expander, defsetf) (define-modify-macro): Doc fixes. * doc/misc/cl.texi (Obsolete Setf Customization): Give defsetf gv.el replacements. * etc/NEWS: Related edit.
* Small doc updates for generalized variablesGlenn Morris2012-11-061-2/+6
| | | | | | | | | | | * lisp/emacs-lisp/gv.el (gv-letplace): Fix doc typo. (gv-define-simple-setter): Update doc of `fix-return'. * doc/lispref/variables.texi (Adding Generalized Variables): Update description of FIX-RETURN expansion. * doc/misc/cl.texi (Obsolete Setf Customization): Revert defsetf example to the more correct let rather than prog1.
* * lisp/emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'Stefan Monnier2012-11-061-2/+4
| | | | | | twice when `fix-return' is set. Fixes: debbugs:12813
* * lisp/emacs-lisp/cl.el (defsetf): Pass the third arg toStefan Monnier2012-11-061-1/+1
| | | | | | gv-define-simple-setter. Fixes: debbugs:12812
* * lisp/emacs-lisp/gv.el (gv-define-setter): Fix doc typo.Glenn Morris2012-11-051-1/+1
|
* Auto-commit of loaddefs files.Glenn Morris2012-11-051-9/+14
|
* Misc small cl doc fixesGlenn Morris2012-11-053-3/+18
| | | | | | | | | * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix. * emacs-lisp/cl-extra.el (cl-prettyexpand): * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim): * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally) (cl-the, cl-compiler-macroexpand): Add basic doc strings.
* Auto-commit of loaddefs files.Glenn Morris2012-11-041-3/+3
|
* Rename cl-loop-handler, cl-loop-for-handler back to their original namesGlenn Morris2012-11-031-2/+4
| | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause): Rename handler properties back from cl-- to cl-. Fixes: debbugs:12788
* * lisp/emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.Glenn Morris2012-11-031-0/+3
|
* Auto-commit of loaddefs files.Glenn Morris2012-10-301-2/+7
|
* cl-mapc small fixesGlenn Morris2012-10-301-1/+2
| | | | | | * lisp/emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix. * doc/misc/cl.texi (Mapping over Sequences): Mention cl-mapc naming oddity.
* Doc and manual updates for cl-letf and letfGlenn Morris2012-10-301-1/+3
| | | | | | | | | | | Fixes: debbugs:12760 * doc/misc/cl.texi (Modify Macros): Update for cl-letf changes. (Obsolete Lexical Macros): Say a little more about letf/cl-letf. * lisp/emacs-lisp/cl.el (letf): Doc fix. * etc/NEWS: Related edit.
* * lisp/emacs-lisp/cl.el (letf): Add missing indent rules.Stefan Monnier2012-10-291-0/+1
| | | | Fixes: debbugs:12759
* * lisp/emacs-lisp/cl.el (defsetf): Doc fix.Glenn Morris2012-10-281-3/+3
|
* * lisp/emacs-lisp/package.el (package-generate-autoloads): Kill bufferDaniel Hackney2012-10-281-1/+3
| | | | "PKGNAME-autoloads.el" in case we created it.
* * lisp/emacs-lisp/advice.el (ad-assemble-advised-definition):Stefan Monnier2012-10-261-3/+5
| | | | Silence bogus compiler warnings for ad-do-it.
* * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):Stefan Monnier2012-10-261-2/+7
| | | | | | Obey byte-compile-warning-enabled-p. Fixes: debbugs:12486
* Merge CEDET upstream.David Engster2012-10-252-29/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression): Removed. This feature is already integrated in imenu. * emacs-lisp/eieio-opt.el: Remove require for `button' since it is always loaded. Require `speedbar' unconditionally. * semantic/analyze.el (semantic-analyze-dereference-alias): New function to dereference aliases. (semantic-analyze-current-context-default): Use it. * semantic/grammar.el (semantic-grammar-create-package): * srecode/compile.el (srecode-compile-templates): Throw a proper error if semantic-mode is not enabled (bug#9968). Compiler warning fixes: * semantic.el (semantic-elapsed-time): Make it a defsubst. * srecode/dictionary.el (srecode-adebug-dictionary): Remove require for `semantic'. * srecode/map.el: * srecode/insert.el: Declare functions from `data-debug'. * semantic/grammar.el: Require `help-fns'. Declare functions from `eldoc', which is required in function body. * srecode/java.el: * semantic/texi.el: * semantic/grammar-wy.el: * semantic/db-file.el: * semantic/db-el.el: * semantic/chart.el: Fix requires. * ede/locate.el: Remove useless requires. Declare functions instead and require in functions when needed.
* * lisp/emacs-lisp/package.el (package-installed-p): Warn if not ready.Stefan Monnier2012-10-251-0/+1
| | | | Fixes: debbugs:12721
* Auto-commit of loaddefs files.Glenn Morris2012-10-251-2/+2
|
* More cl doc updatesGlenn Morris2012-10-241-1/+1
| | | | | | | | | | | | | | | | | | | * doc/misc/cl.texi: Don't mess with the TeX section number counter. Use Texinfo recommended convention for quotes+punctuation. (Overview, Sequence Functions): Rephrase for better line-breaking. (Time of Evaluation, Type Predicates, Modify Macros, Function Bindings) (Macro Bindings, Conditionals, Iteration, Loop Basics) (Random Numbers, Mapping over Sequences, Structures) (Porting Common Lisp): Further updates for cl-lib namespace. (Modify Macros, Declarations, Macro Bindings, Structures): Break long lines in examples. (Dynamic Bindings): Update for changed progv behavior. (Loop Examples, Efficiency Concerns): Markup fixes. (Structures): Remove TeX margin change. * lisp/emacs-lisp/cl-macs.el (cl-progv): Doc fix. * etc/NEWS: Related markup.
* Improve documentation of easy-menu-define.Chong Yidong2012-10-241-78/+69
| | | | | | | | | * lisp/emacs-lisp/easymenu.el (easy-menu-define): Doc fix. * doc/lispref/keymaps.texi (Toolkit Differences): Node deleted. (Easy Menu): New node. Fixes: debbugs:12628
* * checkdoc.el (checkdoc-comment-style-hooks): Typo.Stefan Monnier2012-10-231-1/+1
|
* Cleanup uses of "-hooks".Stefan Monnier2012-10-232-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Hooks): * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated. * lisp/gnus/nndiary.el (nndiary-request-create-group-functions) (nndiary-request-update-info-functions) (nndiary-request-accept-article-functions): * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions): * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions): * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions): * lisp/cedet/semantic/edit.el (semantic-change-functions) (semantic-edits-new-change-functions) (semantic-edits-delete-change-functions) (semantic-edits-reparse-change-functions): * lisp/htmlfontify.el (hfy-post-html-hook): * lisp/filesets.el (filesets-cache-fill-content-hook): * lisp/arc-mode.el (archive-extract-hook): * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook): * lisp/net/rcirc.el (rcirc-sentinel-functions) (rcirc-receive-message-functions, rcirc-activity-functions) (rcirc-print-functions): * lisp/net/dbus.el (dbus-event-error-functions): * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions): * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions) (checkdoc-comment-style-functions): Don't use "-hooks" suffix. * lisp/term/sun.el (sun-raw-prefix-hooks): * lisp/mail/sendmail.el (mail-yank-hooks): * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
* In debug record height of debugger window also when debugger will be back ↵Martin Rudalics2012-10-191-3/+5
| | | | | | | (Bug#8789). * emacs-lisp/debug.el (debug): Record height of debugger window also when debugger will be back (Bug#8789).
* * lisp/emacs-lisp/advice.el: Clean up commentary a bit.Stefan Monnier2012-10-181-69/+16
| | | | | (ad-do-advised-functions, ad-with-originals): Use `declare'. (byte-code-function-p): Never redefine.
* * lisp/emacs-lisp/gv.el (cond): Same fix as before for `if'.Stefan Monnier2012-10-181-1/+2
| | | | * Makefile.in ($(MAKEFILE_NAME)): Depend on src/lisp.mk as well.
* More documentation fixes for changes to defun, defmacro, etc.Chong Yidong2012-10-151-1/+2
| | | | | | | | | | | | | * doc/lispref/functions.texi (Anonymous Functions): Explicitly list the docstring, declare, and interactive arguments to lambda. (Defining Functions): Likewise for defun. (Inline Functions): Likewise for defsubst. (Declare Form): Tweak description. * doc/lispref/macros.texi (Defining Macros): defmacro is now a macro. Explicitly list the docstring and declare arguments. * emacs-lisp/byte-run.el (defsubst): Doc fix.
* * lisp/emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)Stefan Monnier2012-10-131-65/+65
| | | | (oset): Move uses of object-class-fast macro after its definition.
* * lisp/emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.Stefan Monnier2012-10-131-1/+2
|
* In debug restore window configuration when debugger-will-be-back is non-nil ↵Martin Rudalics2012-10-131-11/+15
| | | | | | | (Bug#12623). * emacs-lisp/debug.el (debug): When debugger-will-be-back is non-nil, restore window configuration (Bug#12623).
* * lisp/emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.Stefan Monnier2012-10-121-2/+2
|
* * lisp/emacs-lisp/cl-lib.el (cl--defsubst-expand): Undo last change.Stefan Monnier2012-10-112-3/+4
| | | | * lisp/emacs-lisp/cl-macs.el (cl--defsubst-expand): Idem.
* * lisp/help-fns.el (describe-function-1): Handle autoloads w/o docstrings.Stefan Monnier2012-10-112-3/+3
| | | | | * lisp/emacs-lisp/cl-lib.el (cl--defsubst-expand): Move autoload... * lisp/emacs-lisp/cl-macs.el (cl--defsubst-expand): ...here.
* Fix spurious "cl--defsubst-expand might not be defined at runtime"Stefan Monnier2012-10-111-5/+3
| | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago changes to the format of load-history. * src/eval.c (Fautoload): Remember previous autoload status in load-history.