summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-0269-69/+69
|
* * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handlingStefan Monnier2010-11-261-54/+66
| | | | | | | of :smie-open/close-alist. (smie-next-sexp): Make it accept a "start token" as argument. (smie-indent-keyword): Be careful not to misidentify tokens that span more than one line, as empty lines. Add argument `token'.
* * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokensStefan Monnier2010-11-171-41/+55
| | | | | | | | | that are both openers (resp. closers) and something else. (smie-grammar): Loosen definition of valid values. (smie-next-sexp, smie-down-list, smie-blink-matching-open) (smie-indent--parent, smie-rule-parent, smie-indent-keyword) (smie-indent-after-keyword): Adjust users. (smie-indent-keyword): Don't indent empty lines.
* autoload.el fix for bug#7414.Glenn Morris2010-11-161-5/+5
| | | | | * lisp/emacs-lisp/autoload.el (autoload-find-destination): The function coding-system-eol-type may return non-numeric values.
* * lisp/emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraintsStefan Monnier2010-11-111-5/+40
| | | | when filling the remaining "unconstrained" values.
* * lisp/files.el (safe-local-variable-p): Gracefully handle errors.Stefan Monnier2010-11-111-13/+4
| | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the safety predicate.
* * lisp/emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):Stefan Monnier2010-11-111-16/+51
| | | | | | | Use smie-indent-virtual when indenting relative to an opener. (smie-rule-separator): Use smie-rule-parent. (smie-indent-keyword): Consult rules, even for openers at bol. (smie-indent-comment-close): Try to align closer's content.
* * lisp/emacs-lisp/smie.el: New package.Stefan Monnier2010-11-071-0/+1462
|
* Don't allow functions that display messages in unsafep.Chong Yidong2010-10-181-5/+3
| | | | | * emacs-lisp/unsafep.el: Don't mark functions that display messages as safe. Suggested by Johan Bockgård.
* (regexp-opt-group, regexp-opt-charset): Turn comments into docstringsStefan Monnier2010-10-171-8/+5
|
* Fix typos in docstrings, comments and ChangeLogs.Juanma Barranquero2010-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | * etc/tutorials/TUTORIAL.es: Fix typos. * lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits): Fix typo in message. (semantic-symref-list-map-open-hits): Fix typo in docstring. * lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring. * lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring. * lisp/international/mule.el (define-coding-system): * lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info): * composite.el (compose-region): Fix typo in docstring. * lisp/org/org-agenda.el (org-prefix-category-length) (org-prefix-category-max-length): Fix typos in docstrings. * src/font.c (Ffont_variation_glyphs): * ccl.c (Fccl_execute_on_string): Fix typo in docstring.
* * lisp/emacs-lisp/lisp.el (lisp-completion-at-point):Stefan Monnier2010-10-091-27/+27
| | | | Use emacs-lisp-mode-syntax-table for the whole function.
* Rename another shadow.el function.Glenn Morris2010-10-081-4/+7
| | | | | | * lisp/emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it... (load-path-shadows-find): ... to this. (list-load-path-shadows): Update for above change.
* * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.Glenn Morris2010-10-072-642/+0
|
* Rename some shadow.el things.Glenn Morris2010-10-071-6/+9
| | | | | | | | | * lisp/emacs-lisp/shadow.el (lisp-shadow): Change prefix. (shadows-compare-text-p): Make it an obsolete alias for... (load-path-shadows-compare-text): ... new name. (find-emacs-lisp-shadows): Update for above name change. (load-path-shadows-same-file-or-nonexistent): New name for the old shadow-same-file-or-nonexistent.
* * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): AvoidAndreas Schwab2010-09-271-3/+5
| | | | infinite recursion on erroneous lambda form. (Bug#7114)
* * lisp/emacs-lisp/float-sup.el (float-pi): New name for `pi'.Stefan Monnier2010-09-191-8/+8
| | | | | | | | | (float-e): New name for `e'. (degrees-to-radians, radians-to-degrees): * lisp/calendar/solar.el (solar-longitude): * lisp/calculator.el (calculator-registers, calculator-funcall): * lisp/textmodes/artist.el (artist-spray-random-points): * lisp/play/bubbles.el (bubbles--initialize-images): Use new names.
* Update to CEDET 1.0's version of EIEIO.Eric M. Ludlam2010-09-191-84/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key): New function. (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it. (eieio-default-eval-maybe): Eval val instead of unquoting only. (class-precedence-list): If class is nil, return nil. (eieio-generic-call): If class of first input arg is nil, don't look up static methods, and do check for primary methods. (initialize-instance): See if the default needs to be evaluated during the constructor. (eieio-perform-slot-validation-for-default): Don't do the check for values that will eventually be evaluated. (eieio-eval-default-p): New function. (eieio-default-eval-maybe): Use it. * emacs-lisp/eieio.el (eieio-defclass): Allow :c3 method-invocation-order. (eieio-c3-candidate, eieio-c3-merge-lists): New functions. (eieio-class-precedence-dfs): Compute class precedence list using dfs algorithm. (eieio-class-precedence-bfs): Compute class precedence list using bfs algorithm. (eieio-class-precedence-c3): compute class precedence list using c3 algorithm. (class-precedence-list): New function. (eieiomt-method-list, eieiomt-sym-optimize): Use it. (inconsistent-class-hierarchy): New error symbol. (call-next-method): Stow the replacement argument list for future call-next-method invocations.
* * subr.el (unintern): Declare the obarray arg mandatory.Stefan Monnier2010-09-141-6/+7
| | | | | * emacs-lisp/byte-run.el (set-advertised-calling-convention): Add `when' argument. Update callers.
* * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].Stefan Monnier2010-09-051-2/+5
| | | | | | (rx-any-condense-range): Explode 2-char ranges. Fixes: debbugs:6984
* Doc fix for define-minor-mode (Bug#6880).Chong Yidong2010-08-221-16/+14
| | | | | | * doc/lispref/modes.texi (Defining Minor Modes): Doc fix (Bug#6880). * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
* * lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Fix typo in docstring.MON KEY2010-08-011-1/+1
| | | | Fixes: debbugs:6747
* emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)Leo Liu2010-06-291-3/+0
|
* Update cl-loaddefs.elAndreas Schwab2010-06-261-1/+1
|
* Close bug#6408.Helmut Eller2010-06-121-1/+1
| | | | | * lisp/emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote', used by cl-do-arglist.
* * lisp/emacs-lisp/advice.el (ad-compile-function):Stefan Monnier2010-06-081-0/+2
| | | | | | Define warning-suppress-types before we let-bind it. Fixes: debbugs:6275
* * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):Stefan Monnier2010-05-241-1/+1
| | | | Add delete-backward-char.
* * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.Glenn Morris2010-04-201-1/+2
|
* Fix typos in docstrings.Juanma Barranquero2010-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | * image-dired.el (image-dired-display-thumbs): Fix typo in docstring. (image-dired-read-comment): Doc fix. * json.el (json-object-type, json-array-type, json-key-type, json-false) (json-null, json-read-number): * minibuffer.el (completion-in-region-functions): * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks) (cal-tex-cursor-week): * emacs-lisp/trace.el (trace-function): * eshell/em-basic.el (eshell/printnl): * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter) (eshell-read-last-dir-ring, eshell-write-last-dir-ring): * obsolete/levents.el (allocate-event, event-key, event-object) (event-point, event-process, event-timestamp, event-to-character) (event-window, event-x, event-x-pixel, event-y, event-y-pixel): * textmodes/reftex-vars.el (reftex-index-macros-builtin) (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook) (reftex-cite-punctuation, reftex-search-unrecursed-path-first) (reftex-highlight-selection): Fix typos in docstrings.
* Close bug#4427.Glenn Morris2010-03-112-5/+14
| | | | | * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427) * emacs-lisp/cl-loaddefs.el: Regenerate.
* Fix more save-excursion warnings.Chong Yidong2010-02-271-2/+1
| | | | | | | | | * textmodes/reftex-toc.el (reftex-toc-promote-prepare): * emacs-lisp/elint.el (elint-add-required-env): * cedet/semantic/db-find.el (semanticdb-find-translate-path-brutish-default): * cedet/ede/make.el (ede-make-check-version): * calendar/icalendar.el (icalendar--add-diary-entry): * calc/calcalg2.el (math-tracing-integral): Use with-current-buffer instead of save-excursion.
* * emacs-lisp/authors.el (authors-renamed-files-alist):Glenn Morris2010-02-171-1/+3
| | | | Add entries for INSTALL.CVS.
* (ad-compile-function): Fix last change.Stefan Monnier2010-02-151-1/+1
|
* (ad-compile-function): Suppress byte-compiler warnings, since it is annoyingStefan Monnier2010-02-151-1/+3
| | | | for the user to see them each time he runs the code.
* Fix typos in docstrings.Juanma Barranquero2010-02-141-6/+6
| | | | | | | | | | | | | * outline.el (outline-head-from-level): * simple.el (with-wrapper-hook): * cedet/ede.el (ede-run-target, project-delete-target) (project-dist-files, ede-name, ede-documentation, ede-parent-project) (ede-adebug-project, ede-adebug-project-parent) (ede-adebug-project-root): * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer) (elint-defun, elint-buffer-env, elint-top-form-logged) (elint-unbound-variable): * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
* (aelement): Fix typo in previous.Glenn Morris2010-01-231-3/+3
|
* * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo (Bug#3541).Chong Yidong2010-01-231-1/+1
|
* * emacs-lisp/assoc.el (aelement): Doc fix.Chong Yidong2010-01-231-1/+2
|
* * emacs-lisp/assoc.el (aput, adelete, amake): Use lexical-let (Bug#5450).Chong Yidong2010-01-231-7/+8
|
* Fix typos in docstrings, error messages, etc.Juanma Barranquero2010-01-183-14/+14
|
* * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)Chong Yidong2010-01-161-10/+22
|
* * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).Chong Yidong2010-01-162-9/+29
|
* Mario Lang <mlang@delysid.org>: Remove some duplicated words.Mario Lang2010-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * cedet/ede/cpp-root.el (ede-cpp-root-project): * cedet/ede/files.el (ede-expand-filename): * cedet/ede/simple.el (ede-simple-project): * cedet/semantic/complete.el (semantic-complete-read-tag-engine) (semantic-complete-inline-tag-engine): * cedet/semantic/db-el.el (semanticdb-equivalent-mode): * cedet/semantic/db-global.el (semanticdb-equivalent-mode): * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode): * cedet/semantic/db.el (semanticdb-equivalent-mode): * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe): * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): * emacs-lisp/chart.el (chart-translate-namezone): * textmodes/artist.el (artist-compute-popup-menu-table): Remove duplicated words in doc-strings. * srecode/doc-cpp.srt, srecode/doc-default.srt: * srecode/doc-java.srt: Remove duplicated words. * ede.texi (ede-target): * org.texi (Refiling notes): Remove duplicated words.
* Fix typos in docstrings.Juanma Barranquero2010-01-141-2/+2
|
* Update autoload checksums.Juanma Barranquero2010-01-131-3/+3
|
* Add 2010 to copyright years.Glenn Morris2010-01-1370-70/+70
|
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): MakeEli Zaretskii2010-01-021-2/+6
| | | | the lines in the generated doc string shorter. (Bug#4668)
* (batch-update-autoloads): Only excludeAndreas Schwab2009-12-171-2/+2
| | | | unconditionally preloaded files.
* (emacs-lisp-mode-map): Standardize the capitalization of some menu entries.Glenn Morris2009-12-111-6/+6
|
* Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).Stefan Monnier2009-12-101-6/+8
| | | | | | | | * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Disregard autoload-excludes. (update-directory-autoloads): Obey autoload-excludes here instead. But don't store its contents in no-autoloads and remove entries that refer to excludes files.