1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00
Commit Graph

1615 Commits

Author SHA1 Message Date
Stefan Monnier
1b60b25ac3 (find-variable-regexp): Avoid defface. 2005-01-03 22:05:12 +00:00
Richard M. Stallman
afb62fddcf (mark-sexp, mark-defun): New arg ALLOW-EXTEND
enables the feature to extend the existing region.
2004-12-29 01:32:06 +00:00
Richard M. Stallman
654359e2e3 (debugger-make-xrefs): Call symbol-file with `defun'. 2004-12-27 16:17:46 +00:00
Richard M. Stallman
9f14330b7b (find-function-noselect): Call symbol-file with `defun'.
(find-variable-noselect): Call symbol-file with `defvar'.
2004-12-27 16:17:10 +00:00
Richard M. Stallman
4db985039f Comment change. 2004-12-21 11:50:52 +00:00
Kim F. Storm
90c08845df (beginning-of-defun, end-of-defun): Don't
use inhibit-mark-movement.
2004-12-14 12:18:11 +00:00
Richard M. Stallman
8e2eba0979 (elint-standard-variables, elint-unknown-builtin-args): Move definitions up. 2004-12-13 19:34:46 +00:00
Juri Linkov
967e1a52ad * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun):
Do not push mark when mark is active in transient-mark-mode.
* emacs-lisp/lisp.el (mark-sexp, mark-defun):
Extend the region when mark is active in transient-mark-mode,
regardless of the last command.  Doc fix.
* emacs-lisp/lisp.el (mark-sexp): Reverse the condition for
preserving direction, to mark forward instead of backward when mark
is equal to point (e.g. when C-SPC C-M-SPC is typed in t-m-m).
2004-12-13 03:09:59 +00:00
Stefan Monnier
e8592238a1 (checkdoc-continue, checkdoc-comments, checkdoc-message-text, checkdoc-defun):
Fix format messages for calls to `error'.
2004-12-11 22:01:42 +00:00
Stefan Monnier
22864a4875 (regexp-opt-depth): Use subregexp-context-p.
(regexp-opt-not-groupie*-re): Remove.
(regexp-opt): Properly handle inputs with duplicate entries.
2004-12-06 15:12:46 +00:00
Richard M. Stallman
9dda72d3ea (elint-standard-variables): Update list of variables. 2004-12-03 00:11:21 +00:00
Juri Linkov
20c78df04b (edebug-set-global-break-condition):
Use `read-expression-history'.  Set initial contents only if
`edebug-global-break-condition' is non-nil.  Set histpos to 1
if initial contents is equal to the last history element.
(edebug-set-conditional-breakpoint): Instead of temporarily
prepending the current condition to the history, set initial
contents to the current condition.  Set histpos to 1 if initial
contents is equal to the last history element.
2004-11-28 07:57:10 +00:00
Richard M. Stallman
f5c9c551ad Comment changes. 2004-11-27 19:02:52 +00:00
Stefan Monnier
443b961aee (cl-parse-loop-clause, labels): Use gensym
rather than make-symbol for symbols which are used in
a symbol-macrolet or equivalent.
2004-11-27 00:20:38 +00:00
Richard M. Stallman
4cead7a206 (byte-optimize-form-code-walker):
Use with-no-warnings around compiler-macroexpand.
2004-11-25 02:58:34 +00:00
Luc Teirlinck
8e528e73de (custom-printers): Use defvar' instead of defconst'. 2004-11-21 03:27:39 +00:00
Richard M. Stallman
0b46acbff5 (byte-compile-form): Move the calls to byte-compile-set-symbol-position,
to avoid having two for the same symbol occurrence.
2004-11-21 00:47:13 +00:00
Richard M. Stallman
e7ea754563 (map-keymap): Definition deleted.
(cl-map-keymap): Definition deleted.
2004-11-16 17:06:56 +00:00
Juri Linkov
b0339ffd83 (find-function-regexp): Optimize define-minor-mode'. Add defun-cvs-mode'.
Add `deffoo'.  Add `f' to [^cgv] to exclude `defface'.
Remove invalid `\W' from [^cgv\W].  Doc fix.
(find-function-search-for-symbol): Replace "\\>" with "\\_>".
2004-11-16 15:26:30 +00:00
Stefan Monnier
e542ea4bed Use make-symbol rather than gensym.
(loop, cl-parse-loop-clause, defsetf): Use backquote.
2004-11-16 04:05:29 +00:00
Stefan Monnier
ab3d4bb2ac (pair-with-newsyms): Use make-symbol. 2004-11-16 04:04:50 +00:00
Stefan Monnier
08d72d137c (byte-optimize-inline-handler): Simplify.
(byte-decompile-bytecode-1): Remove unused vars `tag' and `retcount'.
2004-11-14 06:19:52 +00:00
Stefan Monnier
f61b7b7fb1 (byte-compile-inline-expand): Understand the
new byte-compile-function-environment binding to t.
2004-11-12 03:59:26 +00:00
Stefan Monnier
977b50fb12 Use push.
(byte-compile-file-form-defalias): Rename from byte-compile-defalias.
(defalias): Remove the `byte-compile' property and add a `byte-hunk-handler'.
2004-11-11 22:44:46 +00:00
Stefan Monnier
fe6ca60c21 (easy-menu-add-item): Use keymap-prompt. Simplify. 2004-11-10 16:20:20 +00:00
Stefan Monnier
d0db69919b (easy-menu-define-key): Understand the case where the keymap is a symbol. 2004-11-10 15:15:43 +00:00
Stefan Monnier
0c90b62944 (easy-menu-intern): Revert to no-downcasing.
(easy-menu-name-match): Revert correspondingly.
2004-11-09 14:37:10 +00:00
Richard M. Stallman
a7a7ddf104 (byte-compile-defalias):
Turn off warnings for the new function even ifdefinition not constant.
If the definition isn't a quoted symbol, record (FUNCTION . t).
(byte-compile-function-environment): Now allow (FUNCTION . t) as elt.
(byte-compile-callargs-warn): Handle (FUNCTION . t).
(display-call-tree, byte-compile-arglist-warn):
Handle t returned by byte-compile-fdefinition.
2004-11-09 10:33:23 +00:00
Richard M. Stallman
da355cba85 (elp-results): Delete wasteful beginning-of-buffer. 2004-11-07 04:09:31 +00:00
Andreas Schwab
cffe562a9f (easy-menu-get-map): Fix last change. 2004-11-06 14:43:43 +00:00
Stefan Monnier
242399cd03 (easy-menu-get-map-look-for-name): Remove.
(easy-menu-lookup-name): New fun to replace it.
(easy-menu-get-map): Use it to obey menu item names (rather than just
keys) when looking up `path'.
(easy-menu-always-true-p): Rename from easy-menu-always-true.
(easy-menu-convert-item-1): Adjust to new name.
2004-11-06 10:01:56 +00:00
Juri Linkov
392cf16dd0 (edebug-next-token-class): Allow all symbol-constituent characters
after dot, not only digits.
2004-11-05 19:07:07 +00:00
Richard M. Stallman
ea346a5d91 (elp-instrument-function): Use called-interactively-p. 2004-11-02 09:27:26 +00:00
Richard M. Stallman
da6e3103c4 (easy-menu-intern):
Don't downcase; rather, case-flip the first letter of each word.
2004-11-02 09:26:28 +00:00
Richard M. Stallman
a27235b3b5 (define-minor-mode): Use called-interactively-p. 2004-11-02 09:23:34 +00:00
Richard M. Stallman
086af77cf5 (byte-compile-warning-types): Add interactive-only.
(byte-compile-warnings): Add interactive-only as option.
(byte-compile-interactive-only-functions): New variable.
(byte-compile-form): Warn about calls to functions
in byte-compile-interactive-only-functions.
2004-11-02 09:22:16 +00:00
Richard M. Stallman
f7ed02acc7 (update-file-autoloads): Don't use interactive-p; take new arg SAVE-AFTER. 2004-11-02 09:20:13 +00:00
Richard M. Stallman
ae03e7cf52 (ad-make-advised-definition): Use called-interactively-p. 2004-11-02 09:17:50 +00:00
Stefan Monnier
d6b8bb8ef4 Adjust to new names for x-(lost|sent)-selection-functions. 2004-10-28 23:32:28 +00:00
Richard M. Stallman
5172bdd1bb (elp-unload-hook): Set the variable. 2004-10-16 15:22:00 +00:00
Richard M. Stallman
61f1ca4e1d (cl-unload-hook): Don't defvar it, just set it. 2004-10-16 15:21:10 +00:00
Richard M. Stallman
997011eb62 (byte-compile-eval): Don't process
"cl" like other files.  Instead, call byte-compile-find-cl-functions.
(byte-compile-file-form-require): Detect "cl" from the arg value.

(byte-compile-log-1): Bind inhibit-read-only.
(byte-compile-warning-prefix, byte-compile-log-file): Likewise.
(byte-compile-log-warning): Likewise.
2004-10-16 15:20:24 +00:00
Stefan Monnier
3610d3c962 (mark-sexp): Preserve direction when repeating. 2004-10-12 16:05:55 +00:00
Andreas Schwab
af61a97dd6 (byte-optimize-backward-word): Optimize
`(backward-word)' to `(forward-word -1)', not `(forward-char -1)'.
2004-10-10 14:28:19 +00:00
Stefan Monnier
cd9d956124 (lisp-fill-paragraph): Fix backslashes. 2004-10-09 14:28:12 +00:00
Eli Zaretskii
e8a4208ec8 (lisp-fill-paragraph): Change
paragraph-start regexp so we don't fill code starting with #'(
2004-10-08 17:54:43 +00:00
Stefan Monnier
25d91d947f (checkdoc-this-string-valid-engine):
Don't tell to use \\{...} when it's already done.
2004-09-12 20:17:53 +00:00
Thien-Thi Nguyen
78bba1c8dd (byte-compile-generate-call-tree): Doc fix.
(display-call-tree): Ensure newline after caller/calls blocks.
2004-09-08 12:04:22 +00:00
Thien-Thi Nguyen
2b0e738aee (define-compilation-mode): Specify `doc-string-elt' property. 2004-09-08 11:09:14 +00:00
Thien-Thi Nguyen
bec34fb05f (make-autoload): Handle `define-compilation-mode'. 2004-09-08 11:06:23 +00:00