summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Comment change.Richard M. Stallman1997-05-271-1/+2
|
* (eldoc-message-commands): Move docstring into comments, since this isn'tNoah Friedman1997-05-221-27/+36
| | | | | | | | | | | | | | | | | | | a user variable. (eldoc-message-commands-table-size, eldoc-use-idle-timer-p, eldoc-function-argstring-from-docstring-method-table): Use defvar, not defconst. (eldoc-last-data): Use cons explicitly; don't rely on dotted pair read syntax. I'm worried the latter might get compiled as read-only data someday. (eldoc-docstring-message): If truncating symbol name, show ending of name rather than beginning. The former is generally more unique. (eldoc-function-argstring-from-docstring-method-table): Handle pathological `save-restriction' case. [top level]: Add `indent-for-tab-command' to eldoc-message-commands.
* (event-closest-point): Fix paren error.Richard M. Stallman1997-05-201-1/+1
|
* (event-closest-point): New function.Richard M. Stallman1997-05-171-0/+55
| | | | | | (event-closest-point-1): New subroutine. (mouse-event-p, button-event-p): New functions.
* (update-autoloads-from-directories): Renamed fromRichard M. Stallman1997-05-161-12/+16
| | | | | | update-autoloads-from-directory. Take multiple directories as args. Use locate-library to find loaddefs.el and the top level Lisp dir. (batch-update-autoloads): Call update-autoloads-from-directories.
* (defcustom): Add doc-string-elt property.Richard M. Stallman1997-05-121-3/+9
| | | | (make-autoload): Convert defcustom into defvar.
* (byte-compile-file-form-custom-declare-variable): New function.Richard M. Stallman1997-05-081-1/+9
|
* (byte-optimize-approx-equal): Use <=, not <.Richard M. Stallman1997-05-061-1/+19
| | | | | (byte-optimize-minus, byte-optimize-plus): Optimize adding or subtracting 1.
* Use defcustom.Richard M. Stallman1997-05-051-4/+8
|
* (edebug-eval-mode): Add a mode-class property.Richard M. Stallman1997-05-051-2/+3
|
* (generated-autoload-file): Change defconst to defvar.Richard M. Stallman1997-04-291-2/+2
|
* (elp-report-limit): Change prompt string.Richard M. Stallman1997-04-211-30/+23
| | | | (elp-version): Incremented.
* (edebug-read-and-maybe-wrap-form): ProtectRichard M. Stallman1997-04-141-4/+6
| | | | against pathological recursive calls.
* Add defgroup; use defcustom for user vars.Richard M. Stallman1997-04-141-9/+21
|
* Update copyright years.Richard M. Stallman1997-04-121-1/+1
|
* Add defgroup; use defcustom for user vars.Richard M. Stallman1997-04-121-13/+30
|
* (elp-functionp): Definitions deleted; use functionp.Richard M. Stallman1997-04-121-17/+1
|
* (elp-functionp): New function.Richard M. Stallman1997-04-121-48/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (elp-instrument-package): Don't attempt to instrument autoload functions. (elp-elapsed-time): New function to calculate the different between two `current-time' lists. This no longer throws away the top 16 bits of information. (elp-wrapper): Use elp-elapsed-time instead of elp-get-time. Also, call `current-time' as close to the function entrance and exit as possible so more of the overhead is eliminated from the times. (elp-get-time): Obsolete, deleted. (elp-restore-function): When restoring, do not check assq elp-wrapper if the symbol-function is a compiled lisp function (i.e. byte coded). If it is byte-coded, it could not have been instrumented. Don't do the symbol-function restoration if the symbol has no function definition. (elp-instrument-function): Always `restore' the funsym before instrumenting. Fail if function is an autoload symbol. (elp-instrument-list): Remove unnecessary condition-case. (elp-results): Noninteractive as a function is non-portable, use the variable instead. buffer-substring with 3 arguments is non-portable. (elp-instrument-function, elp-instrument-list): Handle function symbols that have already been instrumented. Do not instrument them twice. (elp-recycle-buffers-p): New variable. (elp-report-limit, elp-sort-by-function): New default values. (elp-use-standard-output): New variable. (elp-results): Optionally dump results to standard-output.
* Add defgroup's; use defcustom for user vars.Richard M. Stallman1997-04-121-43/+88
|
* Add defgroup's; use defcustom for user vars.Richard M. Stallman1997-04-121-6/+17
|
* (eval-defun): For defcustom, always set the value.Richard M. Stallman1997-04-101-3/+8
|
* (indent-sexp): If calculate-lisp-indent returns nil,Richard M. Stallman1997-04-051-16/+20
| | | | | | | don't change the line's indentation. (lisp-indent-line): Likewise. (lisp-comment-indent): Likewise. (calculate-lisp-indent): Return nil if line starts inside a string.
* (debug): Use save-excursion inside the binding of buffer-read-only.Richard M. Stallman1997-03-301-1/+3
|
* (eldoc-idle-delay): Make defvar, not defconst.Noah Friedman1997-03-271-4/+4
| | | | | (eldoc-minor-mode-string): Make defvar, not defconst. (eldoc-argument-case): Make defvar, not defconst.
* (tq-process-buffer): Catch errors running tq-queue-head-fn.Richard M. Stallman1997-03-221-4/+7
|
* Many doc fixes.Richard M. Stallman1997-03-221-11/+16
| | | | (ring-ref): Fix error message.
* (copyright-regexp): Allow "Copyright" and the copyright symbol together.Richard M. Stallman1997-03-221-1/+3
|
* (when, unless): Symbol props moved to subr.el.Karl Heuer1997-03-141-1/+0
|
* (lisp-imenu-generic-expression): Accept `*', `|',Karl Heuer1997-03-111-3/+3
| | | | and `:' in symbol names.
* (byte-compile-file): Bind coding-system-for-writeKenichi Handa1997-02-261-2/+2
| | | | | instead of coding-system-for-read to 'no-conversion to disbale code convertion by write-region.
* (eval-last-sexp): Allow let-bindings to terminateKarl Heuer1997-02-231-5/+19
| | | | | before doing the eval. Handle (interactive ...) form specially.
* (debugger-mode): Disable multibyte character handlingKarl Heuer1997-02-201-0/+2
| | | | in Debugger mode.
* (byte-compile-file): Write a compiled file withoutKarl Heuer1997-02-201-2/+3
| | | | any code conversion.
* (update-file-autoloads): Read loaddefs.el withoutKarl Heuer1997-02-201-1/+3
| | | | any code conversion.
* (eldoc-message-commands): Doc fixes.Noah Friedman1997-02-191-138/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (eldoc-message): Make function, not macro. (eldoc-last-message): New internal variable. (eldoc-mode): Initialize it to nil. (eldoc-message): Use it. (eldoc-print-current-symbol-info): Use it. (eldoc-pre-command-refresh-echo-area): New function. (eldoc-mode): Put it on pre-command-hook if in XEmacs or using idle timers in Emacs. (eldoc-message-commands-table-size): New constant. (eldoc-add-command): Use it to initialize eldoc-message-commands. (eldoc-display-message-no-interference-p): New function. (eldoc-display-message-p): Use it. (eldoc-print-fnsym-args, eldoc-print-var-docstring): Arg sym no longer optional. Do not initialize arg if nil. (eldoc-forward-sexp-safe): Function deleted. (eldoc-beginning-of-sexp): New function. (eldoc-fnsym-in-current-sexp): Use eldoc-beginning-of-sexp. Use eldoc-current-symbol to get symbol at point. (eldoc-function-argstring-from-docstring-method-table): Forge docstrings for `and', `or', `list', `+', and `-'. (eldoc-add-command-completions): New function. (eldoc-add-command): Take list of args. No longer interactive. (eldoc-remove-command-completions): New function. (eldoc-remove-command): Take list of args. No longer interactive. top level: Initialize eldoc-message-commands using eldoc-add-command-completions.
* (update-autoloads-from-directory): Get absolute file names fromRoland McGrath1997-02-171-3/+3
| | | | directory-files, and expand generated-autoload-file. Subdirs happy now.
* (eldoc-display-message-p): New function.Noah Friedman1997-02-041-13/+23
| | | | | | | Return nil if cursor-in-echo-area, or using idle timers and a command is still active. (eldoc-print-current-symbol-info): Use eldoc-display-message-p.
* Update copyright notice to reflect assignment to FSF and incorporationNoah Friedman1997-02-031-203/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into Emacs. Attempt to load `timer'. (eldoc-idle-delay): Make defconst. (eldoc-minor-mode-string): Make defconst. (eldoc-argument-case): Make defconst. (eldoc-message-commands): Renamed from eldoc-mode-message-commands. All callers changed. Add `mouse-set-point' as a default candidate. (eldoc-use-idle-timer-p): New constant. (eldoc-timer): New variable. (eldoc-current-idle-delay): New variable. (eldoc-schedule-timer): New function. (eldoc-mode): Use idle timers if supported. (eldoc-add-command): Provide completion on interactive commands only, not all bound functions. (eldoc-print-current-symbol-info): Renamed from eldoc-mode-print-current-symbol-info. All callers changed. Check whether using idle timers or being run from post-command hooks. Use `executing-kbd-macro' instead of `executing-macro'. (eldoc-print-fnsym-args): Don't make interactive. Cache current symbol name in eldoc-last-data; it was forgetting to do this previously. If subr args cannot be determined, show single-line docstring for it instead. (eldoc-docstring-message): New function. (eldoc-print-docstring): New function. (eldoc-print-var-docstring): Use them. (eldoc-function-argstring-from-docstring-method-table): New constant. (eldoc-function-argstring-from-docstring): Use it.
* (byte-compile-inline-expand): Recalculate fnRichard M. Stallman1997-01-271-1/+4
| | | | after loading a file to define the function.
* (when, unless): Definitions moved to subr.el.Richard M. Stallman1997-01-081-8/+0
|
* (easy-menu-create-keymaps): Menu item STYLE toggle (checkbox)Richard M. Stallman1997-01-021-28/+64
| | | | | | | | | | | | | and radio (radio button) are prefixed by "[X] " or "(*) " respectively, when selected and "[ ] " or "( ) ", when not selected. In a menu that contain these prefixes, " " is used as prefix for items that have no other prefix. (easy-menu-update-button): New function used as `menu-enable' property for checkboxes and radio buttons to update the prefixes. (easy-menu-define): Change documentation string to describe the new prefixes.
* (byte-compile-file): Set default-directory in compiler input buffer.Richard M. Stallman1996-12-301-2/+4
|
* (edebug-read-symbol, edebug-read-string): Don't back up after reading.Richard M. Stallman1996-12-261-21/+6
| | | | (edebug-read-sexp): Likewise.
* Change defconsts to defvars.Richard M. Stallman1996-12-161-3/+3
|
* (byte-compile-insert-header): Fix previous change.Karl Heuer1996-12-111-3/+3
|
* (byte-compile-insert-header): If emacs-versionRichard M. Stallman1996-12-071-1/+4
| | | | ends with a letter, don't check the version number.
* (combine-after-change-calls): The first form is not special.Erik Naggum1996-11-111-1/+1
|
* (combine-after-change-calls): Add lisp-indent-function property.Richard M. Stallman1996-11-091-0/+1
|
* (combine-after-change-calls): New def-edebug-spec.Richard M. Stallman1996-11-091-2/+3
|
* (lisp-complete-symbol): Sort the list.Richard M. Stallman1996-11-011-0/+1
|