summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* (autoload-excludes): New variable.Glenn Morris2009-10-061-2/+18
| | | | | | (autoload-generate-file-autoloads): Skip files in autoload-excludes. (batch-update-autoloads): Process a string value of autoload-excludes, set during the build process.
* Fix typos.Juanma Barranquero2009-10-058-151/+154
| | | | | | | * emacs-lisp/chart.el, emacs-lisp/eieio.el, emacs-lisp/eieio-base.el * emacs-lisp/eieio-comp.el, emacs-lisp/eieio-custom.el * emacs-lisp/eieio-datadebug.el, emacs-lisp/eieio-opt.el * emacs-lisp/eieio-speedbar.el
* * help-fns.el (help-function-arglist): Don't check advertised-signature-table.Stefan Monnier2009-10-021-1/+4
| | | | | | (describe-function-1): Do it here instead so it also applies to subrs. * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Obey advertised-signature-table.
* Add arch taglineMiles Bader2009-10-028-0/+8
|
* Use `called-interactively-p' instead of `interactive-p'.Juanma Barranquero2009-10-028-18/+23
|
* * image-mode.el (image-toggle-display):Juanma Barranquero2009-10-023-3/+3
| | | | | | | | | * emacs-lisp/elp.el (elp-instrument-function): * emacs-lisp/advice.el (ad-make-advised-definition): * emacs-lisp/easy-mmode.el (define-minor-mode): * net/browse-url.el (browse-url-maybe-new-window): * progmodes/sh-script.el (sh-learn-buffer-indent): Pass new argument 'any to `called-interactively-p'.
* * eval.c (Fcalled_interactively_p): Add `kind' argument.Stefan Monnier2009-10-011-9/+13
| | | | | | | * subr.el (interactive-p): Mark obsolete. (called-interactively-p): Make the optional-ness of `kind' obsolete. * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey advertised-signature-table for subroutines as well.
* * emacs-lisp/byte-run.el (advertised-signature-table): New var.Stefan Monnier2009-10-012-16/+40
| | | | | | | | | | | (set-advertised-calling-convention): New function. (make-obsolete, define-obsolete-function-alias) (make-obsolete-variable, define-obsolete-variable-alias): Make the optional-ness of `when' obsolete. (define-obsolete-face-alias): Make `when' non-optional. * help-fns.el (help-function-arglist): * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Use advertised-signature-table.
* (byte-compile-defmacro-declaration): New fun.Stefan Monnier2009-10-011-18/+29
| | | | | (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it. (byte-compile-defmacro): Use backquotes.
* Doc/message fixes.Glenn Morris2009-10-016-30/+30
|
* Fix comment typo.Glenn Morris2009-10-011-4/+4
|
* (check-declare-scan): Read the declaration rather than parsing it as aGlenn Morris2009-10-011-23/+23
| | | | | | | regexp. This relaxes the layout requirements and makes errors easier to detect. (check-declare-verify): Check file is regular. (check-declare-directory): Doc fix.
* * emacs-lisp/eieio.el (boolean-p): Deleted.Chong Yidong2009-09-301-6/+0
| | | | * cedet/ede/srecode.el: Fix provide statement.
* (elint-init-form): Report declarations where the filename is not a string.Glenn Morris2009-09-301-5/+10
|
* (authors-ignored-files): Add "js2-mode.el".Glenn Morris2009-09-301-0/+1
|
* Add 2009 to copyright years.Glenn Morris2009-09-291-2/+2
|
* (check-declare-verify): Add basic defmethod and defclass, andGlenn Morris2009-09-291-4/+8
| | | | define-overloadable-function.
* (check-declare-locate): Remove pointless file-name-nondirectory callGlenn Morris2009-09-291-2/+2
| | | | | preventing location of cedet files. (check-declare-verify): Use literal search rather than re-search.
* * emacs-lisp/eieio-datadebug.el: New file.Chong Yidong2009-09-281-0/+147
|
* eieio.el: Fix last change.Chong Yidong2009-09-281-9/+0
|
* * emacs-lisp/chart.el:Chong Yidong2009-09-287-0/+5594
| | | | | | | | | * emacs-lisp/eieio-base.el: * emacs-lisp/eieio-comp.el: * emacs-lisp/eieio-custom.el: * emacs-lisp/eieio-opt.el: * emacs-lisp/eieio-speedbar.el: * emacs-lisp/eieio.el: New files.
* lisp/emacs-lisp/cl-loaddefs.el: Regenerate.Chong Yidong2009-09-281-9/+15
|
* * menu-bar.el: Remove menu-bar-ediff-misc-menu from the ToolsChong Yidong2009-09-273-4/+36
| | | | | | | | | | | | | | | | | | | | | | | menu. * ediff-hook.el: Move menu-bar-ediff-misc-menu into menu-bar-ediff-menu. * emacs-lisp/lisp-mode.el: Add doc-string-elt property to define-overloadable-function. * progmodes/autoconf.el: Provide autoconf as well, so that this file can be `require'd. * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs. * emacs-lisp/autoload.el (generated-autoload-feature) (generated-autoload-load-name): New vars. (autoload-rubric, autoload-generate-file-autoloads): Use them. (make-autoload): Recognize define-overloadable-function and defclass forms (for EIEIO). * Makefile.in (update-subdirs): Exclude cedet directory.
* Fix typos.Juanma Barranquero2009-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el * dired-aux.el * dired-x.el * epa-file.el * ps-print.el * shell.el * vc-hooks.el * vc-rcs.el * vc-sccs.el * vc.el * view.el * wdired.el * emacs-lisp/authors.el * net/dig.el * net/socks.el * net/zeroconf.el * obsolete/vc-mcvs.el * progmodes/gdb-mi.el * progmodes/grep.el * progmodes/idlw-help.el * progmodes/idlw-shell.el * progmodes/idlwave.el * progmodes/inf-lisp.el * textmodes/bibtex.el * textmodes/ispell.el * textmodes/reftex-toc.el
* (elint): New custom group.Glenn Morris2009-09-221-104/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (elint-log-buffer): Make it a defcustom. (elint-scan-preloaded, elint-ignored-warnings) (elint-directory-skip-re): New options. (elint-builtin-variables): Doc fix. (elint-preloaded-env): New variable. (elint-unknown-builtin-args): Add an entry for encode-time. (elint-extra-errors): Make it a variable rather than a constant. (elint-preloaded-skip-re): New constant. (elint-directory): Skip files matching elint-directory-skip-re. (elint-features): New variable, local to linted buffers. (elint-update-env): Initialize elint-features. Possibly add elint-preloaded-env to the buffer's environment. (elint-get-top-forms): Bind elint-current-pos, for log messages. Skip quoted forms. (elint-init-form): New function, extracted from elint-init-env. Make non-list forms a warning rather than an error. Add the mode-map for define-derived-mode. Handle define-minor-mode, easy-menu-define, put that adds an error-condition, and provide. When requiring cl, also require cl-macs. Really require cl, to handle some cl macros. Store required libraries in the list elint-features, so as not to re-load them. Treat cc-require like require. (elint-init-env): Call elint-init-form to do the work. Handle eval-and-compile and such like. (elint-add-required-env): Do not clear messages. (elint-special-forms): Add handlers for function, defalias, if, when, unless, and, or. (elint-form): Add optional argument to ignore elint-special-forms, useful to prevent recursive calls from handlers. Doc fix. Respect elint-ignored-warnings. (elint-form): Respect elint-ignored-warnings. (elint-bound-variable, elint-bound-function): New variables. (elint-unbound-variable): Respect elint-bound-variable. (elint-get-args): Respect elint-bound-function. (elint-check-cond-form): Add some simple handling for (f)boundp and featurep tests. (elint-check-defalias-form): New handler. (elint-check-let-form): Make an empty let a warning rather than an error. (elint-check-setq-form): Make an empty setq a warning rather than an error. Respect elint-ignored-warnings. (elint-check-defvar-form): Accept null doc-strings. (elint-check-conditional-form): New handler. Does some simple-minded checking of featurep and (f)boundp tests. (elint-put-function-args): New function. (elint-initialize): Use elint-scan-doc-file rather than elint-find-builtin-variables. Use elint-put-function-args. Possibly scan preloaded-file-list. (elint-scan-doc-file): Rename from elint-find-builtin-variables and extend to handle functions as well.
* * emacs-lisp/advice.el (ad-get-argument, ad-set-argument): DocChong Yidong2009-09-191-2/+4
| | | | fix (Bug#3932).
* (define-derived-mode): Fix paren typo in definition of abbrev table.Glenn Morris2009-09-181-4/+4
|
* (byte-compile-form): Always check the function arguments, whether orGlenn Morris2009-09-171-6/+6
| | | | not it has a handler.
* (lisp-mode-syntax-table): Give it a doc-string.Glenn Morris2009-09-171-1/+2
|
* (emacs-lisp-mode-syntax-table): Give it a doc-string.Glenn Morris2009-09-171-1/+2
|
* (byte-compile-not-obsolete-vars): Rename from byte-compile-not-obsolete-var.Glenn Morris2009-09-161-15/+28
| | | | | | | | | | | It's a list now. (byte-compile-not-obsolete-funcs): New variable. (byte-compile-warn-obsolete): Don't warn about functions if they are in byte-compile-not-obsolete-funcs. (byte-compile-variable-ref, byte-compile-defvar): Update for byte-compile-not-obsolete-vars name-change and list nature. (byte-compile-maybe-guarded): Suppress warnings about obsolete functions and variables behind (f)boundp tests.
* * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.Stefan Monnier2009-09-151-1/+0
| | | | * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): Don't autoload.
* (byte-compile-refresh-preloaded): New function.Stefan Monnier2009-09-151-1/+22
|
* (byte-compile-keep-pending, byte-compile-file-form, byte-compile-lambda)Glenn Morris2009-09-151-111/+122
| | | | | | | | | (byte-compile-top-level-body, byte-compile-form) (byte-compile-variable-ref, byte-compile-setq) (byte-compile-setq-default, byte-compile-body) (byte-compile-body-do-effect, byte-compile-and, byte-compile-or) (batch-byte-compile): Give some more local variables with common names a "bytecomp-" prefix to avoid masking warnings about free variables.
* (elint-add-required-env): Revert to not using temp-buffers (2009-09-12).Glenn Morris2009-09-141-8/+11
|
* (elint-init-env): Skip non-list forms.Glenn Morris2009-09-121-4/+9
| | | | (elint-log): Handle unknown file positions.
* (elint-file): Make max-lisp-eval-depth at least 1000.Glenn Morris2009-09-121-3/+4
| | | | | (elint-add-required-env): Don't beep on error. (elint-forms): In case of error, return ENV unchanged.
* (emacs-lisp-mode-map): Add menu entries to elint file and directory.Glenn Morris2009-09-121-4/+7
| | | | Remove initialization entry.
* (elint-file, elint-directory): New autoloaded commands.Glenn Morris2009-09-121-31/+111
| | | | | | | | | | | | | | (elint-current-buffer): Set mode-line-process. (elint-init-env): Handle define-derived-mode. Fix declare-function with unspecified arglist. Guard against odd defalias statements (eg iso-insert's 8859-1-map). (elint-add-required-env): Use a temp buffer. (elint-form): Just print the function/macro name, not the whole form. Return env unchanged if we fail to parse a macro. (elint-forms): Guard against parse errors. (elint-output): New function, to handle batch mode. (elint-log-message): Add optional argument. Use elint-output. (elint-set-mode-line): New function.
* * emacs-lisp/elp.el (elp-not-profilable): Add more functions (Bug#4233).Chong Yidong2009-09-121-1/+4
|
* * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.Juanma Barranquero2009-09-112-1/+3
|
* Update.Juanma Barranquero2009-09-111-1/+1
|
* (define-compiler-macro): Add a property that records where a macro wasGlenn Morris2009-09-111-2/+16
| | | | defined.
* (byte-compile-function-environment): Doc fix.Glenn Morris2009-09-101-5/+26
| | | | | | | (byte-compile-file-form-autoload): Don't warn about unknown functions where the autoload statement comes after the use. (with-no-warnings): Give it a byte-hunk-handler like than of progn, so that any handlers inside the body (eg require) are in turn respected.
* (degrees-to-radians): Mark as free from side effects.Glenn Morris2009-09-101-2/+3
|
* (define-derived-mode): Give the mode's map, and syntax and abbrevGlenn Morris2009-09-101-5/+14
| | | | tables basic docs, if they don't have any.
* (easy-mmode-defmap): Add doc-string.Glenn Morris2009-09-101-2/+5
|
* Update.Juanma Barranquero2009-09-071-1/+1
|
* (emacs-lisp-file-regexp): Doc fix.Glenn Morris2009-09-051-31/+70
| | | | | | | | | | | | | (byte-compile-dest-file-function): New option. (byte-compile-dest-file): Doc fix. Obey byte-compile-dest-file-function. (byte-compile-cl-file-p): New function. (byte-compile-eval): Only suppress noruntime warnings about cl functions if the cl-functions warning is enabled. Use byte-compile-cl-file-p. (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather than for file being previously loaded. (byte-compile-find-cl-functions): Use byte-compile-cl-file-p. (byte-compile-file-form-require): Handle the case where requiring a file indirectly causes CL to be loaded.
* Comment.Glenn Morris2009-09-021-3/+3
|