Juanma Barranquero
868904eb92
(acons, pairlis): Add docstring.
2005-05-23 00:05:40 +00:00
Luc Teirlinck
7fb8093523
(define-global-minor-mode): Use `after-change-major-mode-hook' instead
...
of `find-file-hook'.
2005-05-22 22:07:22 +00:00
Stefan Monnier
6cd0254fe9
(eql): Remove. It's a builtin already.
2005-05-22 20:15:05 +00:00
Juanma Barranquero
3187ba1c4f
(function*, case, ecase, typecase, etypecase, progv, lexical-let, lexical-let*,
...
multiple-value-bind, multiple-value-setq, shiftf): Improve argument/docstring
consistency.
2005-05-22 17:51:22 +00:00
Juanma Barranquero
9ae5b0b9dc
(coerce, map, maplist, cl-mapc, mapl, mapcan, mapcon, some, every, notany,
...
notevery, signum, isqrt, concatenate, list-length, get*, getf, cl-remprop):
Improve argument/docstring consistency.
2005-05-22 17:48:02 +00:00
Juanma Barranquero
708c63a689
(pushnew, cl-macroexpand, floatp-safe, plusp, minusp, oddp, evenp, mapcar*,
...
list*, copy-list, adjoin, subst): Improve argument/docstring consistency.
2005-05-22 17:46:50 +00:00
Nick Roberts
8449720ce4
Remove make-obsolete-variable for
...
already deleted variables: auto-fill-hook, blink-paren-hook,
lisp-indent-hook, inhibit-local-variables, unread-command-event
suspend-hooks, comment-indent-hook, meta-flag,
before-change-function, after-change-function,
font-lock-doc-string-face.
2005-05-22 02:30:41 +00:00
Luc Teirlinck
3e2c3ab0f5
(define-derived-mode): Doc fix.
2005-05-21 22:35:35 +00:00
David Kastrup
8292be61c5
(easy-menu-add): Correct docstring since
...
easy-menu-add is not a nop on Emacs; and clarify when to call it.
2005-05-20 15:30:59 +00:00
Juanma Barranquero
47bc4b3fe1
(reduce, fill, replace, remove*, remove-if, remove-if-not, delete*, delete-if,
...
delete-if-not, remove-duplicates, delete-duplicates, substitute, substitute-if,
substitute-if-not, nsubstitute, nsubstitute-if, nsubstitute-if-not, find,
find-if, find-if-not, position, position-if, position-if-not, count, count-if,
count-if-not, mismatch, search, sort*, stable-sort, merge, member*, member-if,
member-if-not, assoc*, assoc-if, assoc-if-not, rassoc*, rassoc-if,
rassoc-if-not, union, nunion, intersection, nintersection, set-difference,
nset-difference, set-exclusive-or, nset-exclusive-or, subsetp, subst-if,
subst-if-not, nsubst, nsubst-if, nsubst-if-not, sublis, nsublis, tree-equal):
Improve argument/docstring consistency.
2005-05-20 14:30:34 +00:00
Juanma Barranquero
f530778210
Specify missing group (and type, if simple) in defcustom.
2005-05-19 19:06:19 +00:00
Richard M. Stallman
8cd567b842
(eval-when-compile): Doc fix.
2005-05-19 15:39:56 +00:00
Richard M. Stallman
fe33e7c83c
(byte-compile-file-form-custom-declare-variable):
...
Call byte-compile-nogroup-warn if appropriate.
2005-05-19 15:39:21 +00:00
Lute Kamstra
07b41c4275
(copyright-fix-years): Make sure all years are fixed. Don't insert a
...
space after a dash.
2005-05-19 08:13:31 +00:00
Luc Teirlinck
292c8ae828
(eldoc-mode): Doc fix.
2005-05-18 15:11:36 +00:00
Lute Kamstra
7bc108869d
(check-parens): Fix docstring.
2005-05-18 08:29:38 +00:00
Lute Kamstra
f567894362
(define-minor-mode): Don't generate a defcustom for the mode hook variable.
2005-05-17 15:17:18 +00:00
Lute Kamstra
77777daf1d
(authors): Do parse the ChangeLogs of the Emacs Lisp Reference Manual.
2005-05-17 15:05:02 +00:00
Juanma Barranquero
213233f006
(subsetp, tree-equal): Doc fixes.
2005-05-17 00:28:50 +00:00
Juanma Barranquero
4342e957a2
(macrolet, symbol-macrolet): Doc fixes.
2005-05-17 00:26:59 +00:00
Juanma Barranquero
f4db41fcbb
(eql, floatp-safe, plusp, minusp, oddp, evenp, list*): Doc fixes.
2005-05-17 00:26:26 +00:00
Juanma Barranquero
4ea3cc0e17
(equalp): Doc fix.
2005-05-16 15:32:09 +00:00
Juanma Barranquero
027a4b6b3f
Replace string-to-int' by
string-to-number'.
2005-05-16 11:34:49 +00:00
Richard M. Stallman
02d9d6829a
(copyright-fix-years): Match properly if the first year is 2-digit.
...
Don't mess up the whitespace after the years by filling.
2005-05-15 22:03:16 +00:00
Richard M. Stallman
76f414790d
(lisp-mode-variables): Set font-lock-comment-start-skip.
2005-05-15 14:29:25 +00:00
Luc Teirlinck
a5079d4022
(define-derived-mode): Add link to Elisp manual to docstring.
2005-05-14 18:32:45 +00:00
Richard M. Stallman
11efeb9b26
(byte-compile-nogroup-warn): New function.
...
(byte-compile-form): Call byte-compile-nogroup-warn.
(byte-compile-warning-types): Doc fix.
2005-05-14 12:30:08 +00:00
Richard M. Stallman
4021f35884
(eldoc-documentation-function): Add autoload.
2005-05-14 11:25:31 +00:00
Nick Roberts
f964fa513c
(easy-menu-define): Doc fixes.
2005-05-13 23:22:42 +00:00
Lute Kamstra
7e8035019d
(define-generic-mode): Don't generate a defcustom for the mode hook
...
variable. Delete the last argument.
2005-05-12 13:23:31 +00:00
Eli Zaretskii
906aee9391
(easy-mmode-pretty-mode-name): Improve commentary.
2005-05-08 19:39:20 +00:00
Eli Zaretskii
a5ad278d75
(cl-transform-lambda): Recognize declare' as well as
interactive',
...
so that defmacro* would recognize `declare' forms.
2005-05-07 15:46:21 +00:00
Eli Zaretskii
e6469973d4
(easy-mmode-pretty-mode-name): Explain
...
more about the LIGHTER arg's usage in the doc string. Add
commentary to clarify what the code does. Fix the regexp that
strips whitespace from LIGHTER. Quote LIGHTER before using it,
since it could have characters special to regular expressions.
2005-05-07 15:06:42 +00:00
Luc Teirlinck
342ef03d5b
(define-obsolete-function-alias, define-obsolete-variable-alias): Doc Fixes.
2005-05-05 22:58:40 +00:00
Juanma Barranquero
3fe2692297
(define-obsolete-function-alias): Fix typo in docstring.
2005-05-05 09:18:53 +00:00
Nick Roberts
35bfeac0e5
(dot, dot-min, dot-max): Don't create
...
bytecode symbols.
2005-05-01 13:28:55 +00:00
Lute Kamstra
74919c6f6a
Improve commentary section.
...
(define-generic-mode): Improve docstring.
2005-04-29 13:12:26 +00:00
Lute Kamstra
817edb155f
(define-generic-mode): Fix docstring.
2005-04-28 14:01:03 +00:00
Lute Kamstra
8af0371d68
(generic-mode-internal): Simplify font-lock-defaults.
2005-04-28 09:18:24 +00:00
Lute Kamstra
c25eec81aa
(define-minor-mode): Fix docstring.
2005-04-26 14:17:51 +00:00
Richard M. Stallman
49c650714b
Fix previous change.
2005-04-26 11:00:56 +00:00
Richard M. Stallman
0a3e46de17
(eldoc-mode): Doc fix.
...
(eldoc-documentation-function):
Renamed from eldoc-print-current-symbol-info-function. Calls changed.
2005-04-26 10:59:44 +00:00
Nick Roberts
0448b47601
(define-obsolete-function-alias): New macro.
2005-04-26 09:03:56 +00:00
Richard M. Stallman
25e73e0cdb
(easy-menu-do-define): Use defalias, not fset.
2005-04-23 16:38:03 +00:00
Nick Roberts
f7f8f37aa6
(define-obsolete-variable-alias): New macro.
2005-04-22 04:08:08 +00:00
Lute Kamstra
9aade6c6f2
Move here from parent dir.
2005-04-13 08:55:01 +00:00
Richard M. Stallman
90d0422ab8
(map-y-or-n-p): Clarify RET/q in help message.
2005-04-10 23:25:16 +00:00
Luc Teirlinck
a64dc1a44c
(defun-prompt-regexp, parens-require-spaces, buffer-end, end-of-defun)
...
(insert-parentheses): Doc fixes.
2005-04-08 23:10:24 +00:00
Dan Nicolaescu
ea81d57ec5
* mh-customize.el (mh-speedbar-selected-folder-face): Special case
...
high number of colors displays.
* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Kim F. Storm
4ee0202022
(authors-aliases): Update list.
...
(authors-ignored-files): New list.
(authors-fixed-entries): Fix typo.
(authors-renamed-files-alist): Update list.
(authors-add): Check authors-ignored-files.
2005-04-08 11:54:57 +00:00
Lute Kamstra
e0e5f0766c
(copyright-update-year): Replace the right subexpression. Suggested
...
by Jay Bingham <jay.bingham@hp.com>.
2005-04-05 23:19:34 +00:00
Lute Kamstra
ab7bc2908b
(define-global-minor-mode): Don't use custom-current-group.
...
(define-minor-mode): Ditto. Document default :group value.
2005-04-05 14:46:29 +00:00
Lute Kamstra
90f5a5a05e
(eldoc-mode): Specify :group.
2005-04-04 09:11:34 +00:00
Richard M. Stallman
1b39b4933b
(make-autoload): Handle define-global-minor-mode.
2005-03-31 21:17:40 +00:00
Richard M. Stallman
39a27f952b
(define-global-minor-mode): Renamed from easy-mmode-define-global-mode.
...
(easy-mmode-define-global-mode): Alias for define-global-minor-mode.
2005-03-31 21:16:54 +00:00
Lute Kamstra
2a3a044ce6
(easy-mmode-define-global-mode, define-minor-mode): Call
...
custom-current-group at load-time.
2005-03-31 14:49:09 +00:00
Lute Kamstra
d702990801
(debug-on-entry): Handle autoloaded functions and compiled macros.
...
(debug-convert-byte-code): Handle macros too.
(debug-on-entry-1): Don't signal an error when trying to clear a
function that is not set to debug on entry.
2005-03-29 13:59:41 +00:00
Stefan Monnier
be940bc538
(debugger-record-expression): Add a missing format to `message'.
...
Inspired by Deepak Goel <deego@gnufans.org>.
2005-03-26 14:46:16 +00:00
Stefan Monnier
b62c13c2bd
(rx-constituents): Add symbol-start and symbol-end.
2005-03-25 14:23:11 +00:00
Werner LEMBERG
bece3937bf
* emacs-lisp/advice.el: Replace legal' with
valid'.
2005-03-25 09:55:34 +00:00
Werner LEMBERG
4920bd1ec4
* emacs-lisp/cl-macs.el: Replace illegal' with
invalid'.
2005-03-25 08:27:58 +00:00
Lute Kamstra
486212810f
(lisp-imenu-generic-expression): Recognize define-generic-mode.
2005-03-24 09:22:11 +00:00
Eli Zaretskii
1b1556b11a
(lisp-mode-variables): Recognize `@' in function names.
2005-03-19 14:01:52 +00:00
Juri Linkov
fe3947c39d
(find-function-regexp): Add defun-emitting macro `menu-bar-make-toggle'.
2005-03-16 07:41:57 +00:00
Lute Kamstra
dc64809a6f
(debugger-make-xrefs): Docstring fix. Ignore a `*' at the beginning
...
of a line.
2005-03-14 17:46:09 +00:00
Lute Kamstra
623374a568
(macro-declaration-function): Move from subr.el.
...
(dont-compile, eval-when-compile, eval-and-compile): Use declare to
specify indentation.
2005-03-14 14:05:13 +00:00
Lute Kamstra
c4fbcb0182
(debug): Set debug-on-exit before calling debugger-setup-buffer so
...
that backtrace marks the frames set to debug-on-exit and we don't have
to do it manually. Set an extra debug-on-exit for macro's.
(debugger-setup-buffer): Don't mark the top frame manually.
2005-03-13 20:54:14 +00:00
Lute Kamstra
3fdfb09c1c
Replace lisp-indent-hook with lisp-indent-function throughout.
...
(with-no-warnings): Set lisp-indent-function property.
2005-03-12 17:24:29 +00:00
Lute Kamstra
449808f757
(debug-entry-code): Delete it.
...
(implement-debug-on-entry): New function to replace debug-entry-code.
(debug-on-entry-1): Use implement-debug-on-entry. Delete the second
argument as the 2005-03-07 change makes it obsolete.
(debug-on-entry, cancel-debug-on-entry): Update call to
debug-on-entry-1.
(debug, debugger-setup-buffer): Comment update.
(debugger-frame-number): Update to work with implement-debug-on-entry.
2005-03-10 09:43:01 +00:00
Miles Bader
f195388009
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-167
...
Tweak obsolete function/variable warning message
2005-03-09 Miles Bader <miles@gnu.org>
* lisp/emacs-lisp/bytecomp.el (byte-compile-variable-ref)
(byte-compile-obsolete): Change " since VER" to " (as of Emacs VER)".
2005-03-09 10:16:02 +00:00
Lute Kamstra
9b54d4534e
(debugger-step-through): Make sure that stepping into the debugger's
...
code is not possible.
(debugger-jumping-flag): Docstring update.
2005-03-08 20:15:57 +00:00
Stefan Monnier
a29cf45057
(debug-on-entry-1): Fix handling of macros.
2005-03-07 14:12:27 +00:00
Lute Kamstra
15cf150db7
(debugger-step-after-exit): Make it a defvar.
...
(debug-function-list): Ditto.
2005-03-04 14:48:14 +00:00
Lute Kamstra
b6b77a9068
(inhibit-debug-on-entry): Add docstring.
...
(debugger-jumping-flag): New var.
(debug-entry-code): Use it.
(debugger-jump): Use debugger-jumping-flag and add debugger-reenable
to post-command-hook.
(debugger-reenable): Use debugger-jumping-flag and remove itself from
post-command-hook.
(debug, debug-on-entry, cancel-debug-on-entry): Remove call to
debugger-reenable.
2005-03-03 16:25:13 +00:00
Lute Kamstra
439368ed41
(debug): Skip one more frame in case of debug on entry.
...
(debugger-setup-buffer): Delete one more frame line in case of debug
on entry.
(debugger-frame-number): Update to use the new text introduced by the
1999-11-03 change. Skip one more frame in case of debug on entry.
2005-03-01 13:02:37 +00:00
Kim F. Storm
40534fe432
Fix years.
2005-03-01 10:15:32 +00:00
Kim F. Storm
422032f0ca
(copyright-fix-years): New command.
2005-03-01 10:14:48 +00:00
Lute Kamstra
07f3fdb1d1
(debug-on-entry-1): Reimplement to make sure that debug-entry-code can
...
be safely removed from a function while this code is being evaluated.
Revert the 2005-02-27 change as the new implementation no longer
requires it. Make sure that a function body containing just a string
is not mistaken for a docstring.
2005-03-01 09:08:47 +00:00
Stefan Monnier
cf9a1b693f
(inhibit-debug-on-entry): New var.
...
(debug): Use it. Move the inhibit-trace earlier.
(debug-entry-code): New const.
(debug-on-entry-1): Use it.
2005-02-28 14:33:50 +00:00
Richard M. Stallman
e342a48a65
(regexp-builder): New function.
2005-02-27 10:35:51 +00:00
Richard M. Stallman
e29824bddc
(debug-on-entry-1): If function body is empty, add nil as body form.
2005-02-27 09:57:51 +00:00
Stefan Monnier
5f8a82e1ac
(inhibit-trace): New var.
...
(trace-make-advice): Use it.
2005-02-27 02:30:58 +00:00
Stefan Monnier
3f4468ab4e
(debug): Put back the inhibit-trace.
2005-02-27 02:26:05 +00:00
Stefan Monnier
78d54deee7
(debug): Hide the buffer if it's not killed.
...
Remove unused and inexistent var `inhibit-trace'.
(debugger-mode): Use run-mode-hooks.
(debugger-list-functions): Add buttons; setup xref stack.
2005-02-26 05:28:24 +00:00
Lute Kamstra
43817a7520
(lisp-mode-variables): Add ;;;###autoload to `outline-regexp'.
...
Suggested by Stefan Monnier <monnier@iro.umontreal.ca>
(lisp-outline-level): Improve efficiency. Suggested by David Kastrup
<dak@gnu.org>.
2005-02-15 09:23:22 +00:00
Kim F. Storm
bf247b6ed0
Change release version from 21.4 to 22.1 throughout.
...
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
03deb635e5
(buffer-end): Doc fix.
2005-02-06 10:40:20 +00:00
Thien-Thi Nguyen
cc08f5b253
(lisp-indent-function): Fix bug:
...
When delegating, order args in the funcall correctly.
2005-02-01 15:50:46 +00:00
Thien-Thi Nguyen
b961eb0e98
(lisp-indent-function): Doc fix.
2005-02-01 15:02:50 +00:00
Stefan Monnier
f9475d97ee
(eval-defun-1): Make sure `defvar' always sets the default value.
2005-01-28 16:27:13 +00:00
Richard M. Stallman
dd60a465fb
(backward-kill-sexp, kill-sexp): Doc fixes.
2005-01-17 23:48:10 +00:00
Richard M. Stallman
d4b6c2e332
(lm-with-file): Use Lisp mode in temp buffer.
...
In non-temp buffer, switch syntax table temporarily.
2005-01-15 18:16:44 +00:00
Richard M. Stallman
5a77048aef
(indent-pp-sexp): Doc fix.
2005-01-15 18:11:33 +00:00
Reiner Steib
9deb0abaf8
Fixed typo in Commentary section.
2005-01-12 16:07:42 +00:00
Richard M. Stallman
8d3e54757a
Comment changes.
2005-01-09 00:30:53 +00:00
Richard M. Stallman
c7ce7fc43b
(find-face-definition): Renamed from find-face.
2005-01-07 02:52:29 +00:00
John Paul Wallington
d7975e20a0
Update copyright. Update commentary to mention rx syntax support.
2005-01-06 21:58:17 +00:00
Richard M. Stallman
436c08c288
(find-variable, find-variable-other-window, find-variable-other-frame):
...
Fix the TYPE args to find-function-read and find-function-do-it.
(find-function): Doc fix.
(find-function-at-point): Replace function-at-point alias.
2005-01-05 19:31:57 +00:00
Richard M. Stallman
0acffda1d3
Doc fixes.
...
(find-face-regexp): New variable.
(find-function-regexp-alist): New variable.
(find-function-C-source): Third arg is now TYPE.
(find-function-search-for-symbol): Handle general TYPE.
(find-function-read, find-function-do-it): Handle general TYPE.
(find-definition-noselect, find-face): New functions.
(function-at-point): Alias deleted.
2005-01-05 01:08:24 +00:00
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
Kim F. Storm
d0f483e8e1
(authors-aliases): Add more aliases.
...
(authors-fixed-entries): Fix typo.
(authors-canonical-author-name): Compact multiple spaces.
Ignore trivial names (e.g. only first name).
2004-09-07 21:16:48 +00:00
Eli Zaretskii
de6d64b22a
(kill-backward-up-list): New function.
2004-09-04 12:56:54 +00:00
Juri Linkov
017c959d5d
(beginning-of-defun, end-of-defun):
...
Do not push mark if inhibit-mark-movement is non-nil.
2004-09-02 09:43:38 +00:00
Richard M. Stallman
4f4ce5976e
(prin1-char): Don't turn S-a into A.
...
Don't return a string that would read as the wrong character code.
2004-08-30 16:05:47 +00:00
Richard M. Stallman
ea2e9f8dc9
Whitespace change.
2004-08-28 15:32:06 +00:00
Richard M. Stallman
87fdf320e9
(prin1-char): Put `shift' modifier into the basic character,
...
if it has an uppercase form.
2004-08-28 14:00:38 +00:00
Eli Zaretskii
3166fce661
(lisp-indent-defmethod): Correct
...
indentation of DEFMETHODS with non-standard method
combinations (e.g., PROGN, MIN, MAX).
2004-08-21 12:24:13 +00:00
Masatake YAMATO
2b8d823f69
(elp-results-symname-map): New keymap.
...
(elp-results-jump-to-definition-by-mouse)
(elp-results-jump-to-definition, elp-output-insert-symname): New Functions.
(elp-output-result): Use elp-output-insert-symname.
2004-08-19 07:52:01 +00:00
Luc Teirlinck
697f502a87
(copyright-update-year): Delete code that replaces 20xy with xy.
2004-08-18 02:11:36 +00:00
John Paul Wallington
ee1fcbddee
(reb-mode-map): Define within defvar.
...
(reb-force-update): Doc fix.
2004-08-17 09:58:06 +00:00
Richard M. Stallman
06f308a7e2
(eval-last-sexp): Don't cons a new symbol each time.
...
(eval-last-sexp-fake-value): New variable.
2004-08-16 22:44:11 +00:00
Richard M. Stallman
6931181604
(copyright-years-regexp): New variable.
...
(copyright-update-year): Detect continuation of list of years.
2004-08-16 22:43:09 +00:00
John Paul Wallington
78642e03de
(forward-word): Allow 0 args.
2004-08-14 10:01:55 +00:00
John Paul Wallington
8bd6323a8f
(reb-re-syntax): Add `rx' syntax.
...
(reb-lisp-mode): Require `rx' feature when `re-reb-syntax' is `rx'.
(reb-lisp-syntax-p, reb-change-syntax): `rx' is a Lisp syntax.
(reb-cook-regexp): Call `rx-to-string' when `re-reb-syntax' is `rx'.
2004-08-07 12:03:54 +00:00
Jonathan Yavner
3e39672fd3
Added some additional functions to the 1-valued',
compose', and progn groups.
...
Bugfix for marking up the definition for an empty function.
New category "potentially-1valued" for functions that are not erroneous if either 1-valued or multi-valued.
2004-07-17 17:06:26 +00:00
John Paul Wallington
7c20a7a9bb
(reb-update-overlays): Distinguish between one and several matches in message.
2004-07-09 17:16:59 +00:00
Juri Linkov
c47e847f4d
(pp-buffer): Add autoload.
2004-06-28 23:08:31 +00:00
Juanma Barranquero
0111ab41ec
(ewoc-create, ewoc-map, ewoc-locate, ewoc-invalidate, ewoc-collect):
...
Doc fixes.
(ewoc--create-node, ewoc--delete-node-internal):
Fix typos in docstring.
2004-06-16 23:50:03 +00:00
Richard M. Stallman
1d5c17c0d3
Put `...' around symbols in warning messages.
2004-06-13 22:01:36 +00:00
Juri Linkov
95e4aa8ef2
(edebug-eval-defun): Add `defface'. Fix docstring.
2004-06-10 04:18:04 +00:00
Juri Linkov
217297f8ec
(eval-defun-1): Add `defface'. Fix docstring.
2004-06-10 04:16:05 +00:00
Richard M. Stallman
152472ba19
(prin1-char): Catch errors from `string'.
...
(eval-last-sexp-print-value): Print char equivalent regardless
of standard-output value.
2004-05-29 15:33:30 +00:00
Juri Linkov
d97c819899
(insert-pair-alist): New var.
...
(insert-pair): Make arguments optional. Find character pair
from `insert-pair-alist' according to the last input event.
(insert-parentheses): Make arguments optional.
(raise-sexp, delete-pair): New funs.
2004-05-28 21:12:25 +00:00
Juri Linkov
889bfc7d44
* emacs-lisp/lisp-mode.el (indent-pp-sexp): New fun.
...
(emacs-lisp-mode-map, lisp-interaction-mode-map):
Bind C-M-q to `indent-pp-sexp'.
(eval-last-sexp-print-value): Print additionally the value returned by
`eval-expression-print-format'.
2004-05-28 21:09:05 +00:00
Juri Linkov
575c3bca4c
(pp-buffer): New fun created from the code in
...
`pp-to-string' modified to be able to format text with newlines.
(pp-to-string): Move the buffer-formatting part of the code to
`pp-buffer'. Call `pp-buffer'.
2004-05-28 21:05:17 +00:00
Juri Linkov
50a27de260
* emacs-lisp/edebug.el (edebug-compute-previous-result)
...
(edebug-eval-expression): Print additionally the value returned by
`eval-expression-print-format'.
2004-05-28 21:03:53 +00:00
Sam Steingold
59de4ad0fc
(lisp-find-tag-default): Strip the package prefix from the symbol name, if any.
...
Make it the `find-tag-default-function' for `lisp-mode'.
2004-05-25 20:51:06 +00:00
Richard M. Stallman
d3d6bc9b3b
(mark-defun, narrow-to-defun): If moving back then fwd gets a defun
...
that ends before point, try again moving fwd then back.
2004-05-22 07:41:55 +00:00
Stefan Monnier
b88a41d006
(byte-compile-log): Use backquotes.
...
(byte-compile-log-1): Don't call (byte-goto-log-buffer).
Use with-current-buffer.
(byte-goto-log-buffer): Delete.
(byte-compile-log-file): Call compilation-forget-errors.
2004-05-19 18:53:13 +00:00
Sam Steingold
410019e59c
(common-lisp-indent-function-1): Indent "without-" forms just
...
like "with-" and "do-". Use regexp-opt.
2004-05-17 17:00:00 +00:00
Kim F. Storm
8cb7feb8b1
(timer-event-handler): Fix last change.
2004-05-16 21:43:57 +00:00
Kim F. Storm
6160f9334e
(timer-activate): Add optional arg triggered-p.
...
Use it to set triggered-p element of timer.
(timer-event-handler): Set triggered-p element non-nil while running
the timer function.
2004-05-14 23:09:35 +00:00
Stefan Monnier
7a439904ec
(prin1-char): Use eventp.
2004-05-11 03:17:59 +00:00
Juanma Barranquero
a766dfa104
(do, do*): Put usage info in a format usable by `describe-function'.
...
(gensym, gentemp, typep, ignore-errors): Make argument names match their
use in docstring.
2004-05-08 17:23:08 +00:00
Andreas Schwab
07051573a8
(checkdoc-minor-mode): Doc fix.
2004-05-08 16:38:33 +00:00
Juanma Barranquero
506b775323
(make-obsolete, make-obsolete-variable): Make argument names match their use in
...
docstring.
2004-05-07 00:58:54 +00:00
Juanma Barranquero
403532ee37
(reb-auto-update): Fix typo in docstring.
2004-05-07 00:53:56 +00:00
Juri Linkov
5891bf24d9
(beginning-of-defun, end-of-defun):
...
Push mark on the first call of successive command calls.
(insert-pair): New fun created from `insert-parentheses' with
`open' and `close' arguments added. Enclose active regions
in paired characters. Compare adjacent characters syntax with
inserted characters syntax before inserting a space.
(insert-parentheses): Call `insert-pair' with ?\( ?\).
2004-05-01 03:58:43 +00:00
Stefan Monnier
4479a2f89a
(find-function-C-source-directory): New var.
...
(find-function-C-source): New fun.
(find-function-search-for-symbol): Use it.
2004-04-29 18:39:14 +00:00
Juanma Barranquero
66dc9a0f2f
(autoload-before-p): Remove.
...
(update-file-autoloads, update-directory-autoloads): Use `time-less-p'.
2004-04-27 22:46:52 +00:00
Stefan Monnier
f578d9f8aa
(checkdoc-output-error-regex-alist): New var.
...
(checkdoc-output-font-lock-keywords): Remove error regexp.
(checkdoc-output-mode-map): Remove.
(checkdoc-output-mode): Derive from compilation-mode.
(checkdoc-find-error-mouse, checkdoc-find-error): Remove.
2004-04-23 22:25:17 +00:00
Stefan Monnier
09c774f713
(rx-syntax): Move sregex style syntax to code.
...
(rx-bracket, rx-check-any, rx-any): Clean up name space.
2004-04-23 21:25:58 +00:00
Stefan Monnier
ccfbe67988
Doc fixes.
...
(rx-constituents): Add/extend many forms.
(rx-check): Check form is a list.
(bracket): Defvar.
(rx-check-any, rx-any, rx-check-not): Modify.
(rx-not): Simplify.
(rx-trans-forms, rx-=, rx->=, rx-**, rx-not-char, rx-not-syntax): New.
(rx-kleene): Use rx-trans-forms.
(rx-quote-for-set): Delete.
(rx): Allow multiple args.
2004-04-23 21:23:29 +00:00
Stefan Monnier
6f8e359068
(batch-byte-recompile-directory): Add byte-recompile-directory's opt `arg'.
2004-04-21 22:34:27 +00:00
Stefan Monnier
780b142e2d
(checkdoc-output-mode): Make it a normal major mode.
...
(checkdoc-buffer-label): Make sure the file name is meaningful.
(checkdoc-output-to-error-buffer): Remove.
(checkdoc-error, checkdoc-start-section): Rewrite.
2004-04-21 20:54:03 +00:00
Richard M. Stallman
67d170f2d2
(easy-menu-add): Do call x-popup-menu, but only if it's defined.
2004-04-21 19:14:49 +00:00
Richard M. Stallman
dc0485c4f8
(disassemble): Handle lambda-exp as arg.
2004-04-21 19:14:04 +00:00
Richard M. Stallman
a4f6653194
Fix previous change.
2004-04-21 19:13:00 +00:00
Richard M. Stallman
0a0eb031ad
(byte-compile-no-warnings): Handle multiple args: compile like progn.
2004-04-21 19:12:04 +00:00
Richard M. Stallman
ae122ad2d4
(with-no-warnings): Simplify: take all args as &rest arg.
2004-04-21 19:10:29 +00:00
Stefan Monnier
a080ff233c
(batch-byte-compile-file): Give a backtrace if requested.
2004-04-14 20:43:45 +00:00