Commit graph

545 commits

Author SHA1 Message Date
Chong Yidong
029fd82cce (insert-for-yank-1): Prevent read-only properties from interfering
with text property operations.
2007-02-09 23:09:16 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
eb486e20b0 (momentary-string-display): Use save-excursion. 2007-01-10 01:15:19 +00:00
Eli Zaretskii
55e4541926 (split-string): Remove spurious ")" from doc string. 2007-01-06 14:36:34 +00:00
Dan Nicolaescu
ab3aad87d9 * faces.el (momentary): Move here ...
* subr.el (momentary): ... from here.
2007-01-05 17:49:43 +00:00
Richard M. Stallman
c8d554e95e (momentary): New face.
(momentary-string-display): Display the string via a temporary
overlay using the new face, instead of inserting it in the buffer.
2007-01-04 21:46:11 +00:00
Juanma Barranquero
dbf284bece (momentary-string-display): After moving point, set POS variable to it to avoid
later errors once the buffer is modified.  Doc fix.
2007-01-02 23:49:25 +00:00
Juanma Barranquero
304bbefcd4 (unread-command-char): Reflow obsolescence info. 2006-12-11 16:14:15 +00:00
Juanma Barranquero
b754307b91 (momentary-string-display): "?\ " -> "?\s". 2006-11-27 14:05:58 +00:00
Juanma Barranquero
0c3f75f6c8 (posn-image): Fix typo in docstring. 2006-11-19 23:42:37 +00:00
Richard M. Stallman
ee6bb6939f (remove-overlays): Fix last change. 2006-11-12 19:55:58 +00:00
Romain Francoise
2403b96c68 (remove-overlays): Fix typo in last change. 2006-11-08 18:46:58 +00:00
Richard M. Stallman
d6f5ac1084 (remove-overlays): Call overlay-recenter. 2006-11-08 17:31:46 +00:00
David Kastrup
2d1dd54d7d (add-to-list): Don't continue checking if a match has
been found.
2006-10-30 22:49:04 +00:00
Kim F. Storm
78bdfbf320 (add-to-list): Fix last change--optimize for no compare-fn. 2006-10-22 22:37:51 +00:00
Kim F. Storm
fb1a5d8a82 (add-to-list): Optimize if compare-fn is eq' or eql'.
(sit-for): If last command was a prefix arg, add the read-ahead
event to unread-command-events as (t . EVENT) so it will be added
to this-command-keys by read-key-sequence.
2006-10-22 22:32:53 +00:00
Richard M. Stallman
631890d8b9 (insert-for-yank-1): If last inserted char has properties,
mark them as rear-nonsticky.
2006-10-18 10:56:46 +00:00
Eli Zaretskii
3f73d221ed (start-process-shell-command): Doc fix. 2006-10-13 19:25:26 +00:00
Richard M. Stallman
4f0f29aa95 (insert-for-yank-1): Handle `font-lock-face' specially. 2006-09-28 19:06:39 +00:00
Jason Rumney
4bbf6b4158 (shell-quote-argument): Use DOS logic for Windows shells with DOS semantics. 2006-09-25 23:03:39 +00:00
Vinicius Jose Latorre
0aad54a5a0 Adjust comment 2006-09-20 20:46:33 +00:00
Kim F. Storm
790e0ef78e (sit-for): Rework to use input-pending-p and cond.
Return nil input is pending on entry also for SECONDS <= 0.
(while-no-input): Use input-pending-p instead of sit-for.
2006-09-11 22:21:55 +00:00
Richard M. Stallman
62e197b194 (add-to-list): New argument COMPARE-FN. 2006-09-10 17:45:42 +00:00
Chong Yidong
04ba1d88de * subr.el (sit-for): Use new SECONDS arg of read-event instead of
a timer.
2006-07-26 18:18:26 +00:00
Richard M. Stallman
01d16e16b9 (dolist, dotimes): Use interned symbols for iteration.
(--dotimes-limit--, --dolist-tail--): New defvars.
(looking-back): Doc fix.
2006-07-24 17:01:08 +00:00
Chong Yidong
c1fdbde6c8 * subr.el (sit-for): Just sleep-for if noninteractive. 2006-07-18 01:34:48 +00:00
Kim F. Storm
d812080674 (sit-for): Doc fix. Specify normal arg list using fn-form.
Remove special case for seconds < 0.  Use (redisplay t) instead.
2006-07-11 00:17:43 +00:00
Chong Yidong
0369eb8545 * subr.el (sit-for): New function.
* play/hanoi.el (hanoi-sit-for): Check sit-for return value.
2006-07-10 18:52:13 +00:00
Richard M. Stallman
8285ccd2e1 (def-edebug-spec): Moved here. 2006-07-09 02:00:10 +00:00
Richard M. Stallman
08a61c99b5 (with-current-buffer): Doc fix. 2006-06-02 03:30:24 +00:00
Richard M. Stallman
39be728a88 (with-current-buffer): Doc fix. 2006-05-30 01:19:09 +00:00
Richard M. Stallman
0988217ac7 (load-history-regexp): If FILE is relative, insist
entire last name component must match it.
(load-history-filename-element, load-history-regexp): Doc fixes.
2006-05-29 00:28:43 +00:00
Richard M. Stallman
60f7e8b663 (with-local-quit): Doc fix. 2006-05-25 00:20:40 +00:00
Richard M. Stallman
113fe928bb (with-local-quit): When handling `quit' signal,
make a chance for quit-flag to cause a quit.
2006-05-25 00:19:02 +00:00
Richard M. Stallman
870560eb10 (read-passwd): Copy PROMPT before changing its properties. 2006-05-24 22:28:02 +00:00
Alan Mackenzie
33d74677e7 startup.el (command-line): For names of preloaded files, don't append
".elc" (now done in Fload), and call file-truename on the lisp directory.

subr.el (eval-after-load): Fix the doc-string.  Allow FILE to match ANY
loaded file with the right name, not just those in load-path.  Put a
regexp matching the file name into after-load-alist, rather than the name
itself.

subr.el: New functions load-history-regexp,
load-history-filename-element, do-after-load-evaluation.

international/mule.el (load-with-code-conversion): Do the eval-after-load
stuff by calling do-after-load-evaluation.
2006-05-24 13:22:12 +00:00
Kim F. Storm
d749491187 (add-to-history): Add KEEP-ALL arg and align functionality
with read-from-minibuffer.
2006-05-16 11:19:39 +00:00
Miles Bader
1627b55f61 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-271
Rename "field-at-point" to "field-at-pos"
2006-05-10 01:58:37 +00:00
Nick Roberts
1ecaae6cc9 (field-at-point): New function. 2006-05-10 00:32:34 +00:00
Kim F. Storm
ae9d1ae3b8 (add-to-history): Remove keep-dups arg. 2006-05-07 20:49:01 +00:00
Kim F. Storm
6b04bd6eec (add-to-history): New function. 2006-05-05 23:35:57 +00:00
Stefan Monnier
26715e1b67 (booleanp): New fun. 2006-04-29 13:56:19 +00:00
Kim F. Storm
79a09c9c48 (posn-string, posn-image, posn-object): Doc fix. 2006-04-26 08:56:32 +00:00
Romain Francoise
7c447c3f8d (read-passwd): Bind `message-log-max' to nil. 2006-04-12 19:40:56 +00:00
Reiner Steib
3e45722587 * subr.el (string-or-null-p): New function.
* textmodes/paragraphs.el (sentence-end): Use string-or-null-p.

* textmodes/ispell.el (ispell-local-dictionary): Use
string-or-null-p.

* files.el: Update comment about safe-local-variable declarations.
2006-04-06 19:20:38 +00:00
Luc Teirlinck
667b73dcdf (locate-library): Use get-load-suffixes' instead of load-suffixes'
and `load-file-rep-suffixes' instead of '("").
2006-02-27 02:01:08 +00:00
Juanma Barranquero
50d16788f2 (substitute-key-definition): Doc fix (hide internal argument). 2006-02-13 11:05:37 +00:00
Richard M. Stallman
fda11e854d (substitute-key-definition): Doc fix. 2006-02-12 20:32:18 +00:00
Juanma Barranquero
1c51d057c4 (substitute-key-definition): Fix typo. 2006-02-10 16:46:43 +00:00
Kim F. Storm
cf25c64767 (substitute-key-definition-key): Pass t for NOERROR to
indirect-function instead of using condition-case.
2006-02-10 00:02:47 +00:00