summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentationLars Magne Ingebrigtsen2011-07-061-19/+19
| | | | | | | of faces when `M-C-x'-ing their definitions. Also clean up the code slightly. Fixes: debbugs:8378
* * lisp/emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):Stefan Monnier2011-07-052-2/+4
| | | | | | | | Let define-derived-mode define it. * lisp/emacs-lisp/derived.el (define-derived-mode): Try to avoid creating cycles of abbrev-table inheritance. Fixes: debbugs:8998
* * lisp/files.el (find-file): Use pop-to-buffer-same-window.Stefan Monnier2011-07-041-1/+1
| | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): Add switch-to-buffer. Fixes: debbugs:8911
* * emacs-lisp/timer.el (timer--time-less-p): Use time-less-p.Paul Eggert2011-07-031-8/+1
|
* * emacs-lisp/timer.el (timer-until): Use time-subtract and float-time.Paul Eggert2011-07-031-4/+1
|
* * lisp/emacs-lisp/derived.el (define-derived-mode): Make abbrev-tableStefan Monnier2011-07-011-2/+5
| | | | inherit from parent.
* Merge from trunk.Paul Eggert2011-06-301-1/+20
|\
| * * lisp/emacs-lisp/find-func.el (find-library--load-name): New fun.Stefan Monnier2011-06-301-1/+20
| | | | | | | | | | | | | | (find-library-name): Use it to find relative load names when provided absolute file name. Fixes: debbugs:8803
* | * emacs-lisp/timer.el (timer-relative-time): Use time-add.Paul Eggert2011-06-301-21/+6
| |
* | * emacs-lisp/elp.el (elp-elapsed-time): Use float-time.Paul Eggert2011-06-301-4/+2
| |
* | * emacs-lisp/benchmark.el (benchmark-elapse): Use float-time.Paul Eggert2011-06-301-3/+2
|/
* * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): Unnest `let'.Deniz Dogan2011-06-281-40/+40
|
* * lisp/emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.Andreas Schwab2011-06-261-2/+2
| | | | (Bug#8934)
* Simplify unloading functions after 2011-06-25T17:42:18Z!lekktu@gmail.com.Juanma Barranquero2011-06-251-2/+1
| | | | | | | | | | * allout.el (allout-unload-function): Pass -1 to `allout-mode'. * proced.el (proced-unload-function): * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove. * ses.el (ses-unload-function): * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
* * lisp/emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable errorStefan Monnier2011-06-231-2/+6
| | | | messages for adjacent non-terminals.
* * lisp/emacs-lisp/bytecomp.el (add-to-list): Add handler to check theStefan Monnier2011-06-201-0/+19
| | | | variable's status.
* * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.Daniel Colascione2011-06-191-2/+3
|
* Add rx.el support for numbered groups (Bug#8776).Chong Yidong2011-06-181-0/+17
| | | | | | * lisp/emacs-lisp/rx.el (rx-constituents): Add support for numbered groups. (rx-submatch-n): New function. (rx): Document it.
* * lisp/emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.Stefan Monnier2011-06-151-4/+5
|
* * src/eval.c (Fdefvaralias): Also mark the target as variable-special-p.Stefan Monnier2011-06-151-0/+20
|
* * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.Daniel Colascione2011-06-111-1/+1
|
* Doc fixes for timer.el (Bug#8793).Chong Yidong2011-06-041-20/+20
| | | | | * emacs-lisp/timer.el (timer-activate): Remove unused arg. (timer-activate, timer-activate-when-idle): Doc fix.
* Auto-commit of loaddefs files.Glenn Morris2011-06-021-1/+1
|
* Silence various byte-compiler warnings.Stefan Monnier2011-06-013-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (make-obsolete-variable): New argument `access-type' and new obsolescence format. * lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to new format. (byte-compile-check-variable): New `access-type' argument. Only warn if the access-type is obsolete. (byte-compile-dynamic-variable-bind, byte-compile-variable-ref) (byte-compile-variable-set): Adjust callers. * lisp/help-fns.el (describe-variable): Adjust to new obsolescence format. * lisp/mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark setting it as obsolete. * lisp/simple.el (minibuffer-completing-symbol): * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Only mark read access as obsolete. * lisp/minibuffer.el (minibuffer-completing-file-name): Don't make it obsolete yet. * lisp/international/quail.el (quail-mouse-choose-completion): Remove unused code referring to obsolete var. (quail-choose-completion-string): Remove. * lisp/server.el (server-clients-with, server-kill-buffer-query-function) (server-kill-emacs-query-function): Silence "unused `proc'" warnings. * lisp/proced.el (proced-send-signal): * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Replace completion-annotate-function with completion-extra-properties.
* Miscellaneous tweaks.Stefan Monnier2011-06-015-32/+52
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for lexical scoping as in subr.el's dolist and dotimes. * lisp/emacs-lisp/bytecomp.el (byte-compile-unfold-bcf): Silence compiler warning. * lisp/thingatpt.el (forward-whitespace): Trivial coding style fix. * lisp/subr.el (with-output-to-temp-buffer): Provide an edebug spec. * lisp/international/ccl.el (ccl-compile): Trivial simplification. * lisp/help-fns.el (help-do-arg-highlight): Silence compiler warning. * lisp/emacs-lisp/testcover.el (testcover-end): Remove spurious `printflag' argument. * lisp/emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable): Purecopy the whole obsolescence data.
* * lisp/emacs-lisp/debug.el (debug): Save&restore not just the buffer'sStefan Monnier2011-05-311-6/+15
| | | | content but also its previous major mode.
* * debug.el (debug): Restore the previous content of theHelmut Eller2011-05-311-0/+3
| | | | *Backtrace* buffer when we exit with C-M-c.
* * bytecomp.el (byte-compile-defvar): Add note about quoted lambda.Stefan Monnier2011-05-301-0/+2
|
* * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).Chong Yidong2011-05-281-2/+7
|
* * lisp/emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add newToby Cubitt2011-05-271-51/+253
| | | | | | | | | | | | | | | traversal functions for avl-trees. (avl-tree--stack): New struct. (avl-tree-stack-p, avl-tree--stack-repopulate): New funs. (avl-tree-enter): Add optional `updatefun' arg. (avl-tree--do-enter): Add optional `updatefun' arg. Change return value. (avl-tree-delete): Add optional `test' and `nilflag' args. (avl-tree--do-delete): Add `test' and `nilflag' args. Change return value. (avl-tree-member): Add optional `nilflag' (avl-tree-member-p): New function. (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions. (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first) (avl-tree-stack-empty-p): New functions.
* * lisp/emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename fromToby Cubitt2011-05-271-220/+216
| | | | | | | | | | | avl-tree--del-balance1 and make it work both ways. (avl-tree--del-balance2): Remove. (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and make it work both ways. (avl-tree--enter-balance2): Remove. (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir): New macros. (avl-tree--mapc, avl-tree-map): Add direction argument.
* Don't quote lambda expressions with `quote'.Stefan Monnier2011-05-235-14/+13
|
* * lisp/emacs-lisp/lisp.el (up-list): Fix forward movement.Stefan Monnier2011-05-231-6/+6
| | | | Fixes: debbugs:8708
* * lisp/emacs-lisp/advice.el (ad-read-advised-function):Kevin Ryde2011-05-231-2/+13
| | | | | Use `function-called-at-point' as the default default, if it has advice and passes PREDICATE.
* * lisp/emacs-lisp/bytecomp.el (byte-compile-function-form): Only callStefan Monnier2011-05-221-3/+3
| | | | byte-compile-lambda if it's actually a lambda.
* * lisp/emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):Stefan Monnier2011-05-221-9/+8
| | | | Fix function quoting. Use backquote better.
* * lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' forStefan Monnier2011-05-222-3/+11
| | | | | | | funcall as well. Warn when performing those conversions. * lisp/emacs-lisp/bytecomp.el (byte-compile-form): Fix error report. Fixes: debbugs:8712
* * lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):Stefan Monnier2011-05-201-1/+1
| | | | Also allow singlespace after single-letter capitals followed by a dot.
* Remove the SOME_MACHINE_LISP distinction in src/Makefile.in.Glenn Morris2011-05-181-45/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See discussion in http://debbugs.gnu.org/8302 * configure.in (NS_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT) (WINDOW_SUPPORT): Remove output variables that are no longer used. * lib-src/makefile.w32-in (echolisp): Remove rule that is no longer needed. (clean): No more echolisp.tmp. * .bzrignore: Remove lib-src/echolisp.tmp. * lisp/emacs-lisp/autoload.el (batch-update-autoloads): Set autoload-excludes by parsing lisp/loadup.el rather than Makefiles. * lisp/loadup.el: Update commentary. * msdos/sed1x.inp (TOOLTIP_SUPPORT, WINDOW_SUPPORT): * msdos/sed1v2.inp (MSDOS_SUPPORT, NS_SUPPORT, MOUSE_SUPPORT) (TOOLTIP_SUPPORT, WINDOW_SUPPORT): No need to edit these any more. * src/Makefile.in (MSDOS_SUPPORT_REAL, MSDOS_SUPPORT, NS_SUPPORT) (REAL_MOUSE_SUPPORT, GPM_MOUSE_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT) (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT, WINDOW_SUPPORT): Remove. (lisp): Set the order to that of loadup.el. (shortlisp): Make it a copy of $lisp. (SOME_MACHINE_LISP): Remove. ($(etc)/DOC): Depend just on $lisp, not $SOME_MACHINE_LISP too. Use just $shortlisp, not $SOME_MACHINE_LISP too.
* * lisp/emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.cGlenn Morris2011-05-171-1/+1
|
* * lisp/emacs-lisp/eieio.el (defmethod): Fix quoting of code.Stefan Monnier2011-05-161-1/+1
| | | | Fixes: debbugs:8677
* Common Lisp indentation improvements on defmethod and lambda-lists.Didier Verna2011-05-131-35/+146
| | | | | | | | | | | | | | | * cl-indent.el: Advertise the changes and remove obsolete TODO entries. (lisp-lambda-list-keyword-parameter-indentation) (lisp-lambda-list-keyword-parameter-alignment) (lisp-lambda-list-keyword-alignment): New customizable user options. (lisp-indent-defun-method): Improve docstring. (extended-loop-p): Fix comment. (lisp-indent-lambda-list-keywords-regexp): New variable. (lisp-indent-lambda-list): New function. (lisp-indent-259): Use it. (lisp-indent-defmethod): Support for more than one method qualifier and properly indent methods lambda-lists. (defgeneric): Provide a missing common-lisp-indent-function property.
* Merge from emacs-23; up to 2010-06-10T12:56:11Z!michael.albinus@gmx.de.Glenn Morris2011-05-121-3/+3
|\
| * * lisp/emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):Stefan Monnier2011-05-091-2/+3
| | | | | | | | Fix typo.
| * Backport 2011-03-01T03:59:31Z!lekktu@gmail.com from trunk.Juanma Barranquero2011-03-112-3/+3
| | | | | | | | *lisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
* | bytecomp.el fix for bug#8647Glenn Morris2011-05-111-1/+5
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble): Let byte-compile-initial-macro-environment always take precedence.
* | Revert accidental portion of previous bytecomp.el commit.Glenn Morris2011-05-111-2/+1
| |
* | bytecomp.el partial fix for bug#8646.Glenn Morris2011-05-111-1/+9
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn): Handle symbol elements of byte-compile-initial-macro-environment.
* | * lisp/emacs-lisp/eieio.el (defmethod): Fix typo in last change.Stefan Monnier2011-05-071-2/+2
| |
* | Make bytecomp.el understand that defmethod defines functions.Stefan Monnier2011-05-072-32/+44
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form): New functions. (defgeneric, eieio--defmethod): Use them. (eieio-defgeneric): Remove. (defmethod): Call defgeneric in a way visible to the byte-compiler. Fixes: debbugs:8631