summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Auto-commit of loaddefs files.Glenn Morris2012-10-301-2/+7
|
* cl-mapc small fixesGlenn Morris2012-10-301-1/+2
| | | | | | * lisp/emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix. * doc/misc/cl.texi (Mapping over Sequences): Mention cl-mapc naming oddity.
* Doc and manual updates for cl-letf and letfGlenn Morris2012-10-301-1/+3
| | | | | | | | | | | Fixes: debbugs:12760 * doc/misc/cl.texi (Modify Macros): Update for cl-letf changes. (Obsolete Lexical Macros): Say a little more about letf/cl-letf. * lisp/emacs-lisp/cl.el (letf): Doc fix. * etc/NEWS: Related edit.
* * lisp/emacs-lisp/cl.el (letf): Add missing indent rules.Stefan Monnier2012-10-291-0/+1
| | | | Fixes: debbugs:12759
* * lisp/emacs-lisp/cl.el (defsetf): Doc fix.Glenn Morris2012-10-281-3/+3
|
* * lisp/emacs-lisp/package.el (package-generate-autoloads): Kill bufferDaniel Hackney2012-10-281-1/+3
| | | | "PKGNAME-autoloads.el" in case we created it.
* * lisp/emacs-lisp/advice.el (ad-assemble-advised-definition):Stefan Monnier2012-10-261-3/+5
| | | | Silence bogus compiler warnings for ad-do-it.
* * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):Stefan Monnier2012-10-261-2/+7
| | | | | | Obey byte-compile-warning-enabled-p. Fixes: debbugs:12486
* Merge CEDET upstream.David Engster2012-10-252-29/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression): Removed. This feature is already integrated in imenu. * emacs-lisp/eieio-opt.el: Remove require for `button' since it is always loaded. Require `speedbar' unconditionally. * semantic/analyze.el (semantic-analyze-dereference-alias): New function to dereference aliases. (semantic-analyze-current-context-default): Use it. * semantic/grammar.el (semantic-grammar-create-package): * srecode/compile.el (srecode-compile-templates): Throw a proper error if semantic-mode is not enabled (bug#9968). Compiler warning fixes: * semantic.el (semantic-elapsed-time): Make it a defsubst. * srecode/dictionary.el (srecode-adebug-dictionary): Remove require for `semantic'. * srecode/map.el: * srecode/insert.el: Declare functions from `data-debug'. * semantic/grammar.el: Require `help-fns'. Declare functions from `eldoc', which is required in function body. * srecode/java.el: * semantic/texi.el: * semantic/grammar-wy.el: * semantic/db-file.el: * semantic/db-el.el: * semantic/chart.el: Fix requires. * ede/locate.el: Remove useless requires. Declare functions instead and require in functions when needed.
* * lisp/emacs-lisp/package.el (package-installed-p): Warn if not ready.Stefan Monnier2012-10-251-0/+1
| | | | Fixes: debbugs:12721
* Auto-commit of loaddefs files.Glenn Morris2012-10-251-2/+2
|
* More cl doc updatesGlenn Morris2012-10-241-1/+1
| | | | | | | | | | | | | | | | | | | * doc/misc/cl.texi: Don't mess with the TeX section number counter. Use Texinfo recommended convention for quotes+punctuation. (Overview, Sequence Functions): Rephrase for better line-breaking. (Time of Evaluation, Type Predicates, Modify Macros, Function Bindings) (Macro Bindings, Conditionals, Iteration, Loop Basics) (Random Numbers, Mapping over Sequences, Structures) (Porting Common Lisp): Further updates for cl-lib namespace. (Modify Macros, Declarations, Macro Bindings, Structures): Break long lines in examples. (Dynamic Bindings): Update for changed progv behavior. (Loop Examples, Efficiency Concerns): Markup fixes. (Structures): Remove TeX margin change. * lisp/emacs-lisp/cl-macs.el (cl-progv): Doc fix. * etc/NEWS: Related markup.
* Improve documentation of easy-menu-define.Chong Yidong2012-10-241-78/+69
| | | | | | | | | * lisp/emacs-lisp/easymenu.el (easy-menu-define): Doc fix. * doc/lispref/keymaps.texi (Toolkit Differences): Node deleted. (Easy Menu): New node. Fixes: debbugs:12628
* * checkdoc.el (checkdoc-comment-style-hooks): Typo.Stefan Monnier2012-10-231-1/+1
|
* Cleanup uses of "-hooks".Stefan Monnier2012-10-232-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/custom.texi (Hooks): * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated. * lisp/gnus/nndiary.el (nndiary-request-create-group-functions) (nndiary-request-update-info-functions) (nndiary-request-accept-article-functions): * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions): * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions): * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions): * lisp/cedet/semantic/edit.el (semantic-change-functions) (semantic-edits-new-change-functions) (semantic-edits-delete-change-functions) (semantic-edits-reparse-change-functions): * lisp/htmlfontify.el (hfy-post-html-hook): * lisp/filesets.el (filesets-cache-fill-content-hook): * lisp/arc-mode.el (archive-extract-hook): * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook): * lisp/net/rcirc.el (rcirc-sentinel-functions) (rcirc-receive-message-functions, rcirc-activity-functions) (rcirc-print-functions): * lisp/net/dbus.el (dbus-event-error-functions): * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions): * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions) (checkdoc-comment-style-functions): Don't use "-hooks" suffix. * lisp/term/sun.el (sun-raw-prefix-hooks): * lisp/mail/sendmail.el (mail-yank-hooks): * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
* In debug record height of debugger window also when debugger will be back ↵Martin Rudalics2012-10-191-3/+5
| | | | | | | (Bug#8789). * emacs-lisp/debug.el (debug): Record height of debugger window also when debugger will be back (Bug#8789).
* * lisp/emacs-lisp/advice.el: Clean up commentary a bit.Stefan Monnier2012-10-181-69/+16
| | | | | (ad-do-advised-functions, ad-with-originals): Use `declare'. (byte-code-function-p): Never redefine.
* * lisp/emacs-lisp/gv.el (cond): Same fix as before for `if'.Stefan Monnier2012-10-181-1/+2
| | | | * Makefile.in ($(MAKEFILE_NAME)): Depend on src/lisp.mk as well.
* More documentation fixes for changes to defun, defmacro, etc.Chong Yidong2012-10-151-1/+2
| | | | | | | | | | | | | * doc/lispref/functions.texi (Anonymous Functions): Explicitly list the docstring, declare, and interactive arguments to lambda. (Defining Functions): Likewise for defun. (Inline Functions): Likewise for defsubst. (Declare Form): Tweak description. * doc/lispref/macros.texi (Defining Macros): defmacro is now a macro. Explicitly list the docstring and declare arguments. * emacs-lisp/byte-run.el (defsubst): Doc fix.
* * lisp/emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)Stefan Monnier2012-10-131-65/+65
| | | | (oset): Move uses of object-class-fast macro after its definition.
* * lisp/emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.Stefan Monnier2012-10-131-1/+2
|
* In debug restore window configuration when debugger-will-be-back is non-nil ↵Martin Rudalics2012-10-131-11/+15
| | | | | | | (Bug#12623). * emacs-lisp/debug.el (debug): When debugger-will-be-back is non-nil, restore window configuration (Bug#12623).
* * lisp/emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.Stefan Monnier2012-10-121-2/+2
|
* * lisp/emacs-lisp/cl-lib.el (cl--defsubst-expand): Undo last change.Stefan Monnier2012-10-112-3/+4
| | | | * lisp/emacs-lisp/cl-macs.el (cl--defsubst-expand): Idem.
* * lisp/help-fns.el (describe-function-1): Handle autoloads w/o docstrings.Stefan Monnier2012-10-112-3/+3
| | | | | * lisp/emacs-lisp/cl-lib.el (cl--defsubst-expand): Move autoload... * lisp/emacs-lisp/cl-macs.el (cl--defsubst-expand): ...here.
* Fix spurious "cl--defsubst-expand might not be defined at runtime"Stefan Monnier2012-10-111-5/+3
| | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago changes to the format of load-history. * src/eval.c (Fautoload): Remember previous autoload status in load-history.
* * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.Stefan Monnier2012-10-092-21/+24
|
* In edebug-pop-to-buffer don't try to split the minibuffer window (Bug#10851).Martin Rudalics2012-10-081-2/+2
| | | | | * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split the minibuffer window (Bug#10851).
* * lisp/emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to theStefan Monnier2012-10-071-1/+1
| | | | | | forms that define macros. Fixes: debbugs:12593
* * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.Stefan Monnier2012-10-062-5/+7
|
* Merge from emacs-24; up to 2012-05-08T14:11:47Z!monnier@iro.umontreal.caGlenn Morris2012-10-051-1/+1
|\
| * * lisp/emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)Glenn Morris2012-10-041-1/+1
| |
* | Spelling fixes.Paul Eggert2012-10-042-4/+4
| |
* | I edebug-pop-to-buffer select window after setting its buffer (Bug#10805).Martin Rudalics2012-10-041-5/+2
| | | | | | | | | | * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window after setting its buffer (Bug#10805).
* | In debug restore current buffer when quitting debugger window (Bug#12502).Martin Rudalics2012-10-031-1/+3
| | | | | | | | | | * emacs-lisp/debug.el (debug): When quitting the debugger window restore current buffer (Bug#12502).
* | Restore Version headers removed in last CEDET merge.Chong Yidong2012-10-021-0/+1
| | | | | | | | | | | | | | These are needed for ELPA dependencies. * srecode.el, ede.el: Restore Version header. * emacs-lisp/eieio.el: Restore Version header.
* | Update CEDET from upstream.Chong Yidong2012-10-026-66/+366
| |
* | * lisp/emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.Stefan Monnier2012-10-011-4/+12
| | | | | | | | | | | | (byte-compile-warning-prefix, byte-compile-file): Use it. Fixes: debbugs:12508
* | * src/lisp.h (struct backtrace): Remove indirection for `function' field.Stefan Monnier2012-09-281-3/+3
| | | | | | | | | | | | | | | | * src/xdisp.c (redisplay_internal): * src/profiler.c (record_backtrace, sigprof_handler_1): * src/alloc.c (Fgarbage_collect): * src/eval.c (interactive_p, Fsignal, eval_sub, Ffuncall, Fbacktrace) (Fbacktrace_frame): Adjust accordingly.
* | * lisp/emacs-lisp/cl.el (flet): Fix case of obsolescence message.Glenn Morris2012-09-281-1/+1
| |
* | * bytecomp.el (byte-compile-cl-file-p): Only "cl.el" counts as cl these days.Glenn Morris2012-09-285-5/+1
| | | | | | | | | | Remove no longer appropriate file-local suppression of CL warnings in lisp/emacs-lisp/cl-*.el files.
* | * lisp/emacs-lisp/pcase.el (pcase--mark-used): New.Stefan Monnier2012-09-281-5/+9
| | | | | | | | | | | | | | | | (pcase--u1): Use it. * lisp/custom.el (load-theme): Set buffer-file-name so the load is recorded in load-history with the right file name. Fixes: debbugs:12512
* | * lisp/emacs-lisp/testcover.el (testcover-after): Add gv-expander.Stefan Monnier2012-09-262-10/+16
| | | | | | | | (testcover-reinstrument): Simplify with CSE.
* | Use declare forms, where possible, to mark obsolete functions.Chong Yidong2012-09-253-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-passphrase-hint-string): Likewise. (allout-init): Use a declare form to mark obsolete. * lisp/calendar/calendar.el (calendar-version): * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer) (icalendar-convert-diary-to-ical): * lisp/cus-edit.el (custom-mode): * lisp/ansi-color.el (ansi-color-unfontify-region): * lisp/international/latin1-disp.el (latin1-char-displayable-p): * lisp/progmodes/cwarn.el (turn-on-cwarn-mode): * lisp/progmodes/which-func.el (which-func-update-1): Use define-obsolete-function-alias. * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark this function obsolete. * lisp/calendar/cal-x.el (calendar-two-frame-setup) (calendar-only-one-frame-setup, calendar-one-frame-setup): * lisp/calendar/calendar.el (american-calendar, european-calendar) (calendar-for-loop): * lisp/comint.el (comint-dynamic-simple-complete) (comint-dynamic-complete-as-filename, comint-unquote-filename): * lisp/desktop.el (desktop-load-default): * lisp/dired-x.el (dired-omit-here-always) (dired-hack-local-variables, dired-default-directory): * lisp/emacs-lisp/derived.el (derived-mode-class): * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs): * lisp/emacs-lock.el (toggle-emacs-lock): * lisp/epa.el (epa-display-verify-result): * lisp/epg.el (epg-sign-keys, epg-start-sign-keys) (epg-passphrase-callback-function): * lisp/eshell/esh-util.el (eshell-for): * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names) (eshell-add-to-window-buffer-names): * lisp/files.el (locate-file-completion): * lisp/imenu.el (imenu-example--create-c-index) (imenu-example--create-lisp-index) (imenu-example--lisp-extract-index-name) (imenu-example--name-and-position): * lisp/international/mule-cmds.el (princ-list): * lisp/international/mule-diag.el (decode-codepage-char): * lisp/international/mule-util.el (detect-coding-with-priority): * lisp/iswitchb.el (iswitchb-read-buffer): * lisp/mail/mailalias.el (mail-complete): * lisp/mail/sendmail.el (mail-sent-via): * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar) (mouse-major-mode-menu): * lisp/password-cache.el (password-read-and-add): * lisp/pcomplete.el (pcomplete-parse-comint-arguments): * lisp/progmodes/sh-script.el (sh-maybe-here-document): * lisp/replace.el (query-replace-regexp-eval): * lisp/savehist.el (savehist-load): * lisp/simple.el (choose-completion-delete-max-match): * lisp/term.el (term-dynamic-simple-complete): * lisp/vc/ediff-init.el (ediff-check-version): * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically): * lisp/vc/vc.el (vc-diff-switches-list): * lisp/view.el (view-return-to-alist-update): Likewise. * lisp/iswitchb.el (iswitchb-read-buffer): Move code of iswitchb-define-mode-map here, and delete that obsolete function. * lisp/subr.el (eval-next-after-load, makehash, insert-string) (assoc-ignore-representation, assoc-ignore-case): Use declare to mark obsolete. (mode-line-inverse-video): Variable deleted. * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that this applies to functions. * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias. * lisp/international/mule-util.el (string-to-sequence): Remove. * lisp/net/newst-backend.el (newsticker-cache-filename): * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix incorrect obsolescence declaration. * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete font-lock-reference-face. * lisp/url/url-parse.el (url-recreate-url-attributes): * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark obsolete. * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
* | Standardize some more license noticesGlenn Morris2012-09-243-15/+11
| |
* | Standardize some license noticesGlenn Morris2012-09-242-22/+22
| |
* | Fix two references to deleted obsolete variables.Chong Yidong2012-09-241-4/+7
| | | | | | | | | | | | | | Also, fix the copyright header for lisp/emacs-lisp/gv.el. * lisp/vc/log-edit.el (log-edit-require-final-newline) (log-edit-changelog-full-paragraphs): Default to t.
* | Misc doc fixes.Chong Yidong2012-09-221-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * searching.texi (Replacing Match): Minor clarification. * lisp/repeat.el (repeat): Doc fix. * lisp/simple.el (shell-command-on-region): Doc fix. * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. * cmds.c (Fforward_char, Fbackward_char): Doc fix. * editfns.c (Fline_beginning_position): Doc fix. (Fline_end_position): Doc fix. * minibuf.c (Finternal_complete_buffer): Doc fix. * search.c (Freplace_match): Doc fix. Fixes: debbugs:12325 debbugs:12391 debbugs:12416 debbugs:12414 debbugs:10909 debbugs:12348
* | Fix bugs #12447 and #12326 with infloop causes by idle timers, update docs.Eli Zaretskii2012-09-221-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/keyboard.c (timer_check_2): Move calculation of 'timers' and 'idle_timers' from here ... (timer_check): ... to here. Use Fcopy_sequence to copy the timer lists, to avoid infloops when the timer does something stupid, like reinvoke itself with the same or smaller time-out. lisp/emacs-lisp/timer.el (run-with-idle-timer) (timer-activate-when-idle): Warn against reinvoking an idle timer from within its own timer action. doc/lispref/os.texi (Idle Timers): Warn against reinvoking an idle timer from within its own timer action.
* | Merge from emacs-24; up to 2012-05-07T14:57:18Z!michael.albinus@gmx.deChong Yidong2012-09-211-1/+7
|\|