summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add L and R categories to standard category table, and use them.Chong Yidong2011-08-181-1/+1
| | | | | | | | | * lisp/international/characters.el: Add L and R categories. * lisp/subr.el (bidi-string-mark-left-to-right): Rename from string-mark-left-to-right. Use category search. * lisp/buff-menu.el (Buffer-menu-buffer+size): Callers changed.
* New function `string-mark-left-to-right' for handling LRMs.Chong Yidong2011-08-101-1/+3
| | | | | | | | | | | | * lisp/subr.el (string-mark-left-to-right): New function. * lisp/buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument. Use string-mark-left-to-right. (list-buffers-noselect): Caller changed. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Use string-mark-left-to-right. (tabulated-list-print): Recenter after moving point.
* * lisp/emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):Stefan Monnier2011-08-052-6/+34
| | | | | | | New functions. (cl-transform-lambda): Use them. Fixes: debbugs:9239
* Auto-commit of loaddefs files.Glenn Morris2011-08-031-1/+2
|
* dolist doc fix.Lars Magne Ingebrigtsen2011-08-021-0/+1
| | | | (dolist): Mention that there's a nil block
* * lisp/emacs-lisp/package.el (package-generate-autoloads): Load autoloadsStefan Monnier2011-08-011-1/+1
| | | | before binding generated-autoload-file.
* Auto-commit of loaddefs files.Glenn Morris2011-07-171-1/+1
|
* Silence byte-compiler warning with :read-only defstruct slotsLawrence Mitchell2011-07-161-2/+4
| | | | | | | * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf method if slot is read-only. Fixes: debbugs:9035
* Add a variable to customize the gnutls priorityLars Magne Ingebrigtsen2011-07-151-3/+4
|
* * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.Lars Magne Ingebrigtsen2011-07-151-1/+2
|
* * emacs-lisp/cl-macs.el (declare): Doc string fix-up.Lars Magne Ingebrigtsen2011-07-151-2/+2
|
* Minor grammer fixes for syntax.el.Lars Magne Ingebrigtsen2011-07-152-3/+8
| | | | Fixes: debbugs:8690
* * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).Lars Magne Ingebrigtsen2011-07-151-0/+6
|
* * lisp/emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)Glenn Morris2011-07-141-1/+1
|
* Fix typos.Juanma Barranquero2011-07-141-1/+1
|
* Add FORCE-SAME-WINDOW argument to switch-to-buffer.Chong Yidong2011-07-131-1/+1
| | | | | | | | * lisp/window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW. Use pop-to-buffer buffer-or-name if it is nil. * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): Remove switch-to-buffer.
* * 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.