summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Update autoloads.Chong Yidong2011-01-281-3/+3
|
* Refill some long/short copyright headers.Glenn Morris2011-01-269-14/+13
|
* Undo part of previous copyright.el change.Glenn Morris2011-01-251-1/+1
| | | | | | * lisp/emacs-lisp/copyright.el (copyright-update-directory): Undo part of previous change - don't find files literally, we need comment-start-skip, etc.
* copyright.el updates.Glenn Morris2011-01-251-36/+101
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/copyright.el (copyright-at-end-flag) (copyright-names-regexp): Add safety properties. (copyright-year-ranges): New option. (copyright-find-end): New function, split from copyright-update-year. (copyright-update-year): Use copyright-find-end. (copyright-fix-years): Optionally, convert years to ranges. Handle years continued over comment lines. Do not mess with the fill-prefix. Do not call copyright-update. (copyright-update-directory): Optionally, fix years rather than update. Skip directories. Find files literally, with only safe local vars. * etc/NEWS: Mention copyright-fix-years and ranges.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-2473-127/+73
|
* Merge from emacs-23.Glenn Morris2011-01-241-1/+3
|\ | | | | | | Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.
| * Fix toggling of case-fold-search from re-builder menu (Bug#7650).Keitaro Miyazaki2011-01-221-1/+3
| | | | | | | | | | * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in the correct buffer.
* | Tweak previous copyright.el change.Glenn Morris2011-01-221-4/+2
| | | | | | | | | | | | * lisp/emacs-lisp/copyright.el (copyright-find-copyright) (copyright-update, copyright-fix-years): Do the initial widen and move in copyright-find-copyright.
* | * lisp/emacs-lisp/copyright.el (copyright-fix-years): Use ↵Glenn Morris2011-01-221-1/+1
| | | | | | | | copyright-find-copyright.
* | Some copyright.el updates.Glenn Morris2011-01-221-97/+104
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/copyright.el (copyright-find-copyright): New function, split out from copyright-update-year. (copyright-update): Don't mess with the GPL version if we don't own the copyright. Update license regexp, and remove no longer needed Esperanto stuff.
* | Merge from emacs-23Glenn Morris2011-01-222-2/+4
|\|
| * * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item.Chong Yidong2011-01-211-1/+1
| |
| * * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):Jari Aalto2011-01-211-1/+3
| | | | | | | | | | | | Assume foo(bar) is a manpage reference rather than some unquoted symbol. Fixes: debbugs:7705
* | Update md5 checksumsAndreas Schwab2011-01-181-2/+2
| |
* | Merge from emacs-23 branch, up to 2010-05-20T22:16:19Z!juri@jurta.org.Glenn Morris2011-01-171-3/+4
|\|
| * * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate theStefan Monnier2011-01-171-3/+4
| | | | | | | | keymap expression. Improve docstring.
| * Fix permanancy of BUFFER-LIST arg to list-buffers-noselect (Bug#7749).Lennart Borgman2011-01-081-3/+3
| | | | | | | | | | | | * buff-menu.el (Buffer-menu-buffer-list): New var. (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a restricted buffer list is not lost on revert (Bug#7749).
* | Merge from mainline.Paul Eggert2011-01-171-2/+2
| |
* | Merge from mainline.Paul Eggert2011-01-1761-67/+16
|\ \
| * | Refill some copyright headers.Glenn Morris2011-01-155-10/+11
| | |
| * | Nuke arch-tags.Glenn Morris2011-01-1552-52/+0
| | |
| * | Add 2011 to remaining FSF/AIST copyright years.Glenn Morris2011-01-153-3/+3
|/ /
* | Update md5 checksumsStefan Monnier2011-01-141-3/+3
| |
* | Merge from emacs-23Stefan Monnier2011-01-1465-71/+70
|\|
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-0269-69/+69
| |
* | * lisp/emacs-lisp/easymenu.el: Add :enable, and obey :label. Require CL.Stefan Monnier2011-01-131-41/+43
| | | | | | | | | | | | | | | | | | (easy-menu-create-menu, easy-menu-convert-item-1): Use :label rather than nil for labels. Use `case'. Add :enable as alias for :active. (easy-menu-binding): Obey :label. Fixes: debbugs:7754
* | Use run-mode-hooks for major mode hooks.Stefan Monnier2011-01-131-39/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/reftex-toc.el (reftex-toc-mode-map): Rename from reftex-toc-map. (reftex-toc-mode): Use define-derived-mode. * lisp/textmodes/reftex-sel.el (reftex-select-shared-map): New map. (reftex-select-label-mode-map, reftex-select-bib-mode-map): Rename from reftex-select-(label|bib)-map. Move init into declaration. (reftex-select-label-mode, reftex-select-bib-mode): Use define-derived-mode. * lisp/textmodes/reftex-index.el (reftex-index-phrases-mode-map) (reftex-index-mode-map): Rename from reftex-index(-phrases)-map. Move init into delcaration. (reftex-index-mode, reftex-index-phrases-mode): Use define-derived-mode. * lisp/speedbar.el (speedbar-mode-syntax-table): Renaqme from speedbar-syntax-table. Move init into declaration. (speedbar-mode-map): Rename from speedbar-key-map. Move init into declaration. (speedbar-file-key-map): Move init into declaration. (speedbar-mode): Use define-derived-mode. * lisp/recentf.el (recentf-mode): Don't run hook (or message) redundantly. * lisp/net/rcirc.el (rcirc-mode): Use run-mode-hooks. * lisp/emacs-lisp/chart.el (chart-mode-map): Rename from chart-map. (chart-face-list): Move initialization into declaration. (chart-mode): Use define-derived-mode. * lisp/calculator.el (calculator-mode-map): Move init into declaration. (calculator-mode): Use define-derived-mode. * lisp/cedet/srecode/srt-mode.el (srecode-template-mode): Use define-derived-mode. * lisp/cedet/semantic/symref/list.el (semantic-symref-results-mode): Use run-mode-hooks. * lisp/erc/erc.el (erc-mode): * lisp/erc/erc-dcc.el (erc-dcc-chat-mode): Use define-derived-mode. * lisp/org/org-remember.el (org-remember-mode): * lisp/org/org-capture.el (org-capture-mode): Don't run hook redundantly. Fixes: debbugs:513
* | Merged from trunk.Christian Ohler2011-01-131-9/+9
|\ \
| * | * emacs-lisp/package.el (package--list-packages): Use switch-to-buffer.Chong Yidong2011-01-121-9/+9
| | |
* | | Add ERT, a tool for automated testing in Emacs Lisp.Christian Ohler2011-01-132-0/+2834
|/ / | | | | | | | | | | | | | | | | | | * Makefile.in, configure.in, doc/misc/Makefile.in, doc/misc/makefile.w32-in: Add ERT. Make "make check" run tests in test/automated. * doc/misc/ert.texi, lisp/emacs-lisp/ert.el, lisp/emacs-lisp/ert-x.el: New files. * test/automated: New directory.
* | * lisp/emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.Johan Bockgård2011-01-111-0/+3
| |
* | * lisp/emacs-lisp/rx.el (rx-repeat): Replace CL function.Glenn Morris2011-01-041-5/+4
| |
* | * lisp/emacs-lisp/rx.el (rx-syntax): Fix typo.Andreas Schwab2010-12-301-1/+1
| |
* | * lisp/emacs-lisp/rx.el: Make it a superset of sregex.Stefan Monnier2010-12-264-643/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | (rx-constituents): Add `any => "."', mark `repeat' as taking any number of args, add `regex' alias. (rx-info): Add arg to distinguish head and standalone forms. (rx-check, rx-form): Pass the corresponding arg. (rx-**): Simplify. (rx-repeat): Make it work for any number of args. (rx-syntax): Make it accept syntax chars as is. * lisp/obsolete/sregex.el: Move from emacs-lisp/. * lisp/emacs-lisp/re-builder.el: Remove sregex support. * lisp/emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
* | Fix up last change.Stefan Monnier2010-12-221-3/+3
| | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of print-number-table. * src/print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove. (print_preprocess): Fix handling of uninterned symbols in last change.
* | Update cl-loaddefs.elAndreas Schwab2010-12-031-1/+1
| |
* | cl-macs `loop' fix for bug#7492.Glenn Morris2010-12-021-2/+11
| | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-parse-loop-clause): Avoid infinite loop over windows.
* | Merge changes from emacs-23 branchChong Yidong2010-11-271-54/+66
|\|
| * * 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'.
* | * lisp/emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.Stefan Monnier2010-11-241-156/+184
| | | | | | | | | | | | | | | | | | (pcase--dontcare-upats): New var. (pcase-let, pcase-let*): Generate better code. Accept the same bodies as `let'. (pcase-dolist): New macro. (pcase--trivial-upat-p): New helper function. (pcase--expand): Strip leading "(let nil" if any.
* | Tiny authors.el updates.Glenn Morris2010-11-201-2/+7
| | | | | | | | | | * lisp/emacs-lisp/authors.el (authors-ignored-files) (authors-valid-file-names, authors-renamed-files-alist): Add entries.
* | Merge from emacs-23Stefan Monnier2010-11-173-74/+149
|\|
| * * 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/checkdoc.el (checkdoc-syntax-table): Fix last change.Stefan Monnier2010-11-151-87/+75
| | | | | | | | | | (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid) (checkdoc-proper-noun-region-engine): Use with-syntax-table.
* | bytecomp trivia.Glenn Morris2010-11-111-9/+13
| | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant. Use it to replace all instances of "*Compile-Log*"
* | * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug andStefan Monnier2010-11-111-1/+3
| | | | | | | | indentation specs.