summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* update for autoloadsKenichi Handa2011-02-081-2/+2
|
* Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca.Glenn Morris2011-02-051-1/+1
|\
| * * lisp/emacs-lisp/cl-macs.el (return-from): Fix doc typo.Glenn Morris2011-02-051-1/+1
| |
* | elint.el trivia.Glenn Morris2011-02-021-1/+0
| | | | | | | | | | * lisp/emacs-lisp/elint.el (elint-standard-variables): Remove a couple of built-ins that now have doc-strings.
* | * lisp/apropos.el (apropos-print): Now that `apropos-mode' inheritsSam Steingold2011-02-022-18/+13
| | | | | | | | | | | | | | | | | | | | | | from `special-mode', entering it makes the buffer read-only, so call it only when everything has been already inserted. * lisp/emacs-lisp/ert.el (ert--setup-results-buffer) (ert-results-pop-to-backtrace-for-test-at-point) (ert-results-pop-to-messages-for-test-at-point) (ert-results-pop-to-timings): Ditto. * lisp/emacs-lisp/package.el (package--list-packages): Ditto. * lisp/play/solitaire.el (solitaire): Ditto.
* | * lisp/simple.el (special-mode-map): Bind "h" to `describe-mode';Sam Steingold2011-02-012-20/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bind "z" to `kill-this-buffer'. (completion-list-mode-map): Bind "z" to `kill-this-buffer'. * lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'. (apropos-mode): Inherit from `special-mode'. * lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'. * lisp/bookmark.el (bookmark-bmenu-mode): Define using `define-derived-mode' inheriting from `special-mode'. * lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'. * lisp/image-mode.el (image-mode-map): Ditto. * lisp/replace.el (occur-mode): Define using `define-derived-mode' inheriting from `special-mode'. * lisp/tar-mode.el (tar-mode): Inherit from `special-mode'. * lisp/calendar/diary-lib.el (diary-fancy-display-mode): Inherit from `special-mode-map'. * lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode): Inherit from `special-mode'. * lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from `special-mode-map'. (package-menu-mode): Define using `define-derived-mode' inheriting from `special-mode'. * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'. * lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'. (xesam-mode-map): Define separately. * lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'. * lisp/progmodes/compile.el (compilation-minor-mode-map) (compilation-mode-map): Inherit from `special-mode-map'. * lisp/vc/diff-mode.el (diff-mode-shared-map): Inherit from `special-mode-map'. * lisp/vc/log-view.el (log-view-mode-map): Add a comment.
* | Merge changes from emacs-23 branchChong Yidong2011-01-311-1/+1
|\|
| * Don't complain about duplicate leim-list filesAndreas Schwab2011-01-291-1/+1
| | | | | | | | | | * lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list files.
* | Fix help-mode highlighting of advice warning (Bug#6304).Leo Liu2011-01-281-3/+1
| | | | | | | | | | | | | | | | * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply highlighting to the "this function is advisted" message. * help-mode.el (help-mode-finish): Apply highlighting here, to avoid clobbering by substitute-command-keys (Bug#6304).
* | 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.