summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Fix package menu bug in marking obsolete packages for deletion.Chong Yidong2011-08-281-1/+1
| | | | | * lisp/emacs-lisp/package.el (package-menu-mark-delete): Allow marking obsolete packages for deletion.
* * package.el (package-install): Call package-initialize if called interactively.Chong Yidong2011-08-261-10/+16
|
* Fix bug #9324 with unwarranted repositioning of point.Eli Zaretskii2011-08-261-1/+1
| | | | | src/xdisp.c (redisplay_window): Don't force window start if point will be invisible in the resulting window.
* Fix format bug in defstructLeo Liu2011-08-261-6/+4
| | | | http://debbugs.gnu.org/9357
* * lisp/emacs-lisp/derived.el (define-derived-mode): Doc fix.Glenn Morris2011-08-241-2/+2
|
* * lisp/emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):Stefan Monnier2011-08-231-8/+108
| | | | | | Add compatibility functions. Fixes: debbugs:9313
* * lisp/emacs-lisp/debug.el (debug-arglist): New function.Stefan Monnier2011-08-221-13/+21
| | | | | | | (debug-convert-byte-code): Use it. Handle lexical byte-codes. (debug-on-entry-1): Handle interpreted closures. Fixes: debbugs:9120
* Improve Edebug error for attempting to instrument built-in functions.Chong Yidong2011-08-212-2/+8
| | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug-instrument-function): Use it to signal an error for built-in functions. * lisp/emacs-lisp/find-func.el (find-function-noselect): New arg lisp-only. Fixes: debbugs:6664
* 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.