1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

325 Commits

Author SHA1 Message Date
Stefan Monnier
aa3b4ded23 (copy-overlay, remove-overlays): New funs. 2001-11-28 04:03:53 +00:00
Richard M. Stallman
f1d37f3cab (functionp): Do use cdr-safe on object. 2001-11-17 03:53:51 +00:00
Stefan Monnier
a2d7836f5b (eval-after-load): Make it work with features as well. 2001-11-16 14:15:08 +00:00
Miles Bader
60ab6064b3 (functionp): Don't consider macros as functions. 2001-11-09 01:03:03 +00:00
Miles Bader
1cf72ff8eb (functionp): Make work correctly for macros and unbound symbols. 2001-11-08 12:12:30 +00:00
Stefan Monnier
0764e16fbe (with-local-quit): New macro.
(make-syntax-table): Always inherit.
(functionp): Be more careful when `object' is a symbol.
2001-11-08 00:57:57 +00:00
Stefan Monnier
a13fe4c517 (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks): New vars and functions.
(text-clone-maintain, text-clone-create): New functions.
2001-10-25 02:26:41 +00:00
Miles Bader
448a01706c (symbol-file-load-history-loaded)
(load-symbol-file-load-history, symbol-file): Moved from `help.el'.
2001-10-09 11:14:31 +00:00
Miles Bader
93aca633e1 (call-process-shell-command): New function. 2001-10-05 12:30:20 +00:00
Gerd Moellmann
08b1f8a12e (define-key-after): Allow `key' to be longer than 1.
(make-local-hook): Make obsolete.
(add-hook, remove-hook): Don't use make-local-hook any more.
(make-syntax-table): Inherit all chars from s-s-t.
2001-10-05 09:26:17 +00:00
Gerd Moellmann
0c107014e0 (add-minor-mode): Use mode-line-minor-mode-keymap for
the minor mode name.
2001-08-09 14:52:27 +00:00
Pavel Janík
60370d4073 Some fixes to follow coding conventions. 2001-07-15 19:53:53 +00:00
Miles Bader
a27b451eb7 (interactive-form): Fix paren typo. 2001-03-30 00:53:08 +00:00
Gerd Moellmann
d320078883 Fix typo. 2001-03-29 14:08:58 +00:00
Gerd Moellmann
f65fab598e (interactive-form): New function. 2001-03-29 14:08:34 +00:00
Gerd Moellmann
719349f6d0 (read-passwd): Clear command history after each
character entered.  From: Stephen Gildea <gildea@alum.mit.edu>.
2001-03-28 09:28:15 +00:00
Dave Love
7a0485b2bf (event-basic-type): Doc fix. 2001-03-01 18:30:44 +00:00
Gerd Moellmann
fe10cef0d2 (read-passwd): Clear Lisp memory holding password. 2001-02-15 09:55:47 +00:00
Richard M. Stallman
6bfdc2e29f (last): Handle a list that doesn't end in nil. 2001-01-12 19:51:09 +00:00
Gerd Moellmann
422717d17b (eval-after-load): Call load-symbol-file-load-history to
ensure that eval-after-load works for files dumped with Emacs.
2001-01-11 14:24:02 +00:00
Kenichi Handa
1c1c65de36 (butlast, nbutlast): Moved from cl.el to here. 2000-12-28 12:15:44 +00:00
Stefan Monnier
6a84719a02 (combine-run-hooks): Remove. 2000-12-23 20:53:24 +00:00
Dave Love
19594307c9 (eval-after-load): Doc fix. 2000-12-20 20:09:59 +00:00
Stefan Monnier
6ad948eb50 (combine-run-hooks): Only run-hooks if there's a hook to run. 2000-11-29 14:53:45 +00:00
Miles Bader
242c13e8b2 (member-ignore-case): Return the tail of the list who's car matches,
like `member', not the matching element itself.
2000-11-29 04:36:30 +00:00
Stefan Monnier
e6e71807ad Undoing the changes erroneously committed just before. 2000-11-23 22:57:46 +00:00
Stefan Monnier
79372165fe (add-hook, remove-hook): Don't call make-local-hook
if the variable is make-variable-buffer-local.
2000-11-23 22:54:54 +00:00
Stefan Monnier
c344cf32d5 (make-local-hook): Docstring fix. 2000-11-21 21:35:38 +00:00
Miles Bader
c8bfa68964 (add-to-list): Add optional argument APPEND. 2000-10-10 02:47:30 +00:00
Dave Love
ff77cf4034 (substitute-key-definition): Doc fix.
(play-sound-file): new command.
2000-10-04 11:24:51 +00:00
Stefan Monnier
0b2cf11f54 (add-minor-mode): Don't eval NAME.
Don't depend on the presence of TOGGLE-FUN for any special behavior.
Use if rather than cond.
2000-09-29 03:23:49 +00:00
Dave Love
d6c22d46ab (add-minor-mode): Use toggle-fun arg. 2000-09-12 12:56:25 +00:00
Gerd Moellmann
13157efca3 (remove, remq): New functions. 2000-07-27 20:08:47 +00:00
Stefan Monnier
2598a293ae Update calls to make-obsolete with a WHEN argument. 2000-06-01 05:07:32 +00:00
Stefan Monnier
e4da9c1c34 (remove-hook): Don't turn the hook's value into a list. 2000-05-21 23:24:18 +00:00
Stefan Monnier
dd6b8ea7a8 (remove-hook): setq' hook-value, not set'. 2000-05-16 21:37:32 +00:00
Sam Steingold
2248c40dab (add-hook): setq hook-value, not set 2000-05-16 14:47:46 +00:00
Gerd Moellmann
739f26728c (substitute-key-definition): Add comment describing
the meaning of PREFIX.
2000-05-11 09:28:06 +00:00
Stefan Monnier
8947a5e232 (add-hook, remove-hook): Make hook buffer-local if needed..
(add-minor-mode): Don't make the variable buffer-local and add a
reference to define-minor-mode in the docstring.
2000-05-10 22:40:17 +00:00
Gerd Moellmann
4656b31490 (substitute-key-definition): Clarify documentation. 2000-05-04 20:21:58 +00:00
Gerd Moellmann
49102500cc (add-minor-mode): Handle AFTER for keymaps. Don't
set TOGGLE's value.
2000-05-03 12:33:16 +00:00
Gerd Moellmann
c94f467716 *** empty log message *** 2000-04-28 11:53:43 +00:00
Gerd Moellmann
5f68f6e85a (add-minor-mode): Use set' instead of setq'. 2000-04-27 10:40:58 +00:00
Gerd Moellmann
b35bd33d35 (add-minor-mode): Make argument MAP optional. 2000-04-26 18:50:09 +00:00
Gerd Moellmann
d7d47268cc (add-minor-mode): New function. 2000-04-26 17:33:40 +00:00
Richard M. Stallman
42ccb7c867 (read-passwd): Use read-char-exclusive. 2000-04-17 16:08:26 +00:00
Gerd Moellmann
cbbc320513 (member-ignore-case): New function. 2000-04-03 19:29:56 +00:00
Stefan Monnier
c834b52cdc (combine-run-hooks): New function. 2000-03-21 15:28:44 +00:00
Dave Love
1697159cc1 (replace-regexp-in-string): Renamed from
replace-regexps-in-string.  Doc fix.
2000-03-14 22:57:28 +00:00
Stefan Monnier
a9853251a3 (replace-regexps-in-string): Properly handle the case where
we match an empty string.
2000-03-08 23:49:09 +00:00
Gerd Moellmann
d3a61a1191 (assq-delete-all): Renamed from assoc-delete-all.
Don't copy alist.
2000-02-29 10:13:42 +00:00
Dave Love
4ced66fd68 (define-key-after): Default AFTER to t. Doc fix. 2000-02-23 11:40:06 +00:00
Dave Love
b021ef186f (when, unless, split-string): Doc fix.
(read-passwd): Move call of clear-this-command-keys to the right
place.
(replace-regexps-in-string): New function.
2000-02-22 20:16:31 +00:00
Dave Love
4ce72c0d79 Move out indent and edebug specs for when and unless. 2000-01-28 22:10:18 +00:00
Richard M. Stallman
b3f070938b (with-syntax-table): Use make-symbol, not gensym. 2000-01-21 03:40:33 +00:00
Richard M. Stallman
e4295aa11f Make the definitions of dolist and dotimes work
without the rest of CL.
2000-01-21 03:38:12 +00:00
Richard M. Stallman
a0b0756a71 (dolist, dotimes): Moved from cl-macs.el. 2000-01-21 02:08:58 +00:00
Richard M. Stallman
7e8539cc68 (with-syntax-table): Moved from simple.el. 2000-01-12 03:04:55 +00:00
Paul Eggert
64ed733ada Fix bootstrapping problems.
Use the system locale to specify Emacs locale defaults.

* international/mule-cmds.el (global-map):
Do not use backquote, because that makes a bootstrapping
problem if you need to recompile all Lisp files using interpreted code.
* international/mule.el (charset-id, charset-bytes,
charset-dimension, charset-chars, charset-width,
charset-direction, charset-iso-final-char,
charset-iso-graphic-plane, charset-reverse-charset,
charset-short-name, charset-long-name, charset-description,
charset-plist): Likewise.
* subr.el (save-match-data): Likewise.

* international/mule-cmds.el
(set-display-table-and-terminal-coding-system): New function,
containing code migrated out of set-language-environment.
(set-language-environment, set-locale-environment): Use it.
(locale-translation-file-name): Moved here from startup.el.
(locale-language-names, locale-preferred-coding-systems):
New vars.
(locale-name-match, set-locale-environment): New functions.

* language/japan-util.el (setup-japanese-environment-internal):
Prefer japanese-iso-8bit if the system-type is usg-unix-v.

* startup.el (iso-8859-n-locale-regexp): Remove.
(locale-translation-file-name): Move to mule-cmds.el.
(command-line): Move locale-stuff into set-locale-environment.
1999-10-19 07:18:58 +00:00
Stefan Monnier
ce87039d4d * subr.el (with-current-buffer): don't use backquotes to avoid
bootstrapping problems.
loadup.el (load-path): add subdirs for bootstrapping.
(docstrings): ignore errors during bootstrapping.
(args): new `bootstrap' argument (for use in place of `dump').
1999-10-13 00:21:07 +00:00
Eli Zaretskii
8ee75d0316 (shell-quote-argument): Quote argument with double
quotes for ms-dos.
1999-09-14 10:11:19 +00:00
Richard M. Stallman
cdd9f64394 (make-temp-file): New function. 1999-09-11 01:08:15 +00:00
Richard M. Stallman
fa65505b4d (push): Doc fix. 1999-09-07 06:37:06 +00:00
Dave Love
22d85d00b0 (push): Fix typo. 1999-08-31 13:12:46 +00:00
Richard M. Stallman
1be152fc1a Fix previous change. 1999-08-29 20:27:40 +00:00
Richard M. Stallman
d270117a18 (push, pop): New macros. 1999-08-29 20:23:54 +00:00
Karl Heuer
98aae5f636 (assoc-ignore-case, assoc-ignore-representation): Moved here from simple.el. 1999-08-16 21:04:49 +00:00
Karl Heuer
475fb2fb88 (point-at-eol, point-at-bol): New aliases. 1999-08-16 20:57:24 +00:00
Dave Love
a62d669550 (assoc-delete-all): New function, renamed from frame-delete-all. 1999-07-30 18:40:22 +00:00
Richard M. Stallman
508bcbcaad (add-to-list): Doc fix. 1999-05-22 19:42:01 +00:00
Karl Heuer
aadf7ff324 (with-temp-message): Fix the other call to message to use %s. 1999-05-07 09:42:50 +00:00
Karl Heuer
7554590250 (with-temp-message): Use %s so % in old msg won't fool us. 1999-02-23 22:09:03 +00:00
Richard M. Stallman
c306e0e09f (momentary-string-display): Bind inhibit-read-only. 1999-02-16 00:52:36 +00:00
Dan Nicolaescu
e93b8cbb7e *** empty log message *** 1999-02-02 02:26:12 +00:00
Andrew Innes
1ccaea525e (subst-char-in-string): New function. 1999-01-17 18:55:53 +00:00
Simon Marshall
a600effe5f Doc fix. 1999-01-06 15:23:46 +00:00
Simon Marshall
110201c8f7 (with-temp-message): Don't display MESSAGE if nil. 1999-01-06 10:05:50 +00:00
Karl Heuer
acc81368d1 (read-passwd): Ignore input methods. 1998-12-16 20:51:34 +00:00
Richard M. Stallman
71c78f01ad (make-local-hook): Return the hook variable. 1998-11-30 23:44:10 +00:00
Simon Marshall
e5bb8a8cd8 Added with-temp-message. 1998-11-19 09:43:40 +00:00
Richard M. Stallman
8723b7f3eb (read-passwd): Use clear-this-command-keys. 1998-10-13 03:44:06 +00:00
Dave Love
cf4a60a319 (remove-hook): Check list values to avoid errors. 1998-09-21 17:57:46 +00:00
Kenichi Handa
0cba3a0f81 (sref): Make it an alias of aref. Make the
byte-compiler warn that it is obsolete.
(char-bytes): Make the byte-compiler warn that it is obsolete.
1998-08-28 12:22:39 +00:00
Richard M. Stallman
b7de4d62b3 (read-quoted-char): Don't bind input-method-function;
instead, pass the new args to read-event.
1998-08-18 09:32:31 +00:00
Richard M. Stallman
1fa0de2c86 (add-hook): Use byte-code-function-p, not compiled-function-p. 1998-08-08 23:08:23 +00:00
Richard M. Stallman
8a288450ca (assoc-default): Rewrite not to use dolist. 1998-08-08 23:07:06 +00:00
Richard M. Stallman
526d204e20 (assoc-default): New function. 1998-07-31 10:53:30 +00:00
Richard M. Stallman
8c05b76c93 (read-quoted-char): Bind input-method-function to nil. 1998-07-14 08:15:51 +00:00
Richard M. Stallman
a180f6a544 (add-hook): Use member if FUNCTION is a compiled function. 1998-07-07 08:24:39 +00:00
Dave Love
d46490e312 (remove-hook): Fix spurious quote. 1998-04-21 18:38:34 +00:00
Richard M. Stallman
ff663bbec9 (local-set-key, global-set-key): Return what define-key returns. 1998-04-16 05:40:48 +00:00
Karl Heuer
15171a06d3 (add-to-list): Always return updated value of LIST-VAR. 1998-04-07 18:22:28 +00:00
Richard M. Stallman
024ae2c6d6 (save-match-data): store-match-data => set-match-data.
(store-match-data): This is now the alias,
set-match-data is now the primitive.

(momentary-string-display): Pass t as UPDATE to window-end.
1998-03-14 08:15:36 +00:00
Richard M. Stallman
44071d6b2c (read-passwd): Renamed from read-password. New second arg CONFIRM. 1998-03-08 00:16:38 +00:00
Kenichi Handa
8b52e89266 (sref): Increase CHAR in the while loop. 1998-03-04 07:42:24 +00:00
Kenichi Handa
7070190281 (sref): Typo in doc-string fixed. 1998-03-03 01:35:39 +00:00
Richard M. Stallman
569b03f243 (read-quoted-char): Doc fix. 1998-02-28 19:00:34 +00:00
Kenichi Handa
66353e86d1 * subr.el (sref): Doc-string added. 1998-02-20 01:43:38 +00:00
Richard M. Stallman
4fb1703731 (suspend-hook, suspend-resume-hook): New defvars. 1998-02-04 21:04:41 +00:00
Richard M. Stallman
97d26a9743 (momentary-string-display): Fix backward test
for whether end of message is off the screen.
1998-01-20 04:56:52 +00:00