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

1431 Commits

Author SHA1 Message Date
Richard M. Stallman
9b45407516 (lm-keywords-finder-p): Use with-no-warnings. 2003-06-04 09:48:50 +00:00
Juanma Barranquero
d8bae9fc04 (last-sexp-toggle-display): Remove stale comment. 2003-06-03 23:14:25 +00:00
Richard M. Stallman
c4e2d7912b (eval-last-sexp-1): Add save-excursion. 2003-06-03 11:10:31 +00:00
Lute Kamstra
ccb78fa385 (lm-synopsis): Use relative filenames correctly. Show the synopsis to
the user when appropriate.  Do not kill buffers that were created
outside `lm-synopsis'.
2003-06-02 10:23:19 +00:00
Juanma Barranquero
5e046f6d57 Moved from lisp/. 2003-05-30 23:31:15 +00:00
Juanma Barranquero
db47d2ab7a Moved to obsolete/. 2003-05-30 23:24:41 +00:00
Stefan Monnier
552754fed2 Typo (no clue what happened). 2003-05-30 15:35:54 +00:00
Stefan Monnier
5121ef4cd5 (edebug-storing-offsets): Move indent and debug to inside the macro.
(edebug-read-storing-offsets): Simplify.
(edebug-read-quote, edebug-read-function): Place the start-position correctly.
(edebug-read-backquote-new): Remove.
(edebug-read-backquote-level): New var to replace it.
(edebug-read-backquote): Increment it.  Don't store offsets one extra time.
(edebug-read-comma): Decrement it.  Read the comma as a plain
symbol if outside of any new-style backquote.
(edebug-read-list): Use edebug-read-backquote-level.
Don't call edebug-read-backquote directly.  This way the extra
offsets store is done exactly when it's needed.
(edebug-read-vector): Use push.
(defmacro): Add support for the `declare' thingy.
2003-05-30 15:34:02 +00:00
Stefan Monnier
d2d6d47de0 (define-derived-mode, define-minor-mode): Remove outdated spec.
(save-match-data, with-output-to-string, with-current-buffer)
(combine-after-change-calls, with-temp-buffer, dolist, dotimes)
(unless, when): Remove specs that are now in the corresponding macro.
2003-05-29 22:20:47 +00:00
Stefan Monnier
d778509cc2 (edebug-window-list): Use push.
(edebug-macrop): Use functionp.
(edebug-functionp): Remove.
(edebug-get-displayed-buffer-points): Use push.
(edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
(edebug-list-form): Remove dead code.
(backquote-form): Correctly handle `(a . ,b).
(edebug-mode-map, global-edebug-map): Move init to inside the defvar.
2003-05-29 22:09:24 +00:00
Stefan Monnier
2e2a00756f (define-minor-mode): Add edebug spec.
Accept a :keymap argument, as you'd expect.
2003-05-29 21:54:35 +00:00
Richard M. Stallman
3b8d36f152 (last-sexp-toggle-display):
Undo previous change (don't check for eob).  Widen at the beginning.
2003-05-28 11:27:52 +00:00
Richard M. Stallman
3c9dc1cf0d (byte-compile-no-warnings): New function.
(with-no-warnings): Set up compile handler.
2003-05-28 11:26:45 +00:00
Stefan Monnier
c689a61d1c (lisp-font-lock-syntactic-face-function): Don't infinite lop at bob.
(emacs-lisp-mode): Mark its main custom group to be `lisp'.
(prin1-char): New fun.
(eval-last-sexp-1): Use it.  Use with-syntax-table as well.
(eval-defun-1): Don't replace `defvar' with `defconst'.
2003-05-27 14:17:17 +00:00
Lute Kamstra
d547e25f45 (checkdoc-file-comments-engine): Use
`lm-commentary-end' to find the end of the commentary section.
2003-05-23 10:10:24 +00:00
Lute Kamstra
c7dff41d3f Make the description of the library more
accurate.
(lm-any-header): New user option.
(lm-section-start): New function; rewrite of `lm-section-mark'.
(lm-section-mark): Make alias of `lm-section-start'.
(lm-section-end): New function.
(lm-code-start): New function; rewrite of `lm-code-mark'.
(lm-code-mark): Make alias of `lm-code-start'.
(lm-commentary-start): New function; rewrite of
`lm-commentary-mark'.
(lm-commentary-mark): Make alias of `lm-commentary-start'.
(lm-commentary-end): New function.
(lm-history-start): New function; rewrite of `lm-history-mark'.
(lm-history-mark): Make alias of `lm-history-start'.
(lm-commentary): Use `lm-commentary-end' to find the end of the
commentary section.
2003-05-23 10:08:34 +00:00
Richard M. Stallman
cb4f3fc8a8 (find-function-on-key): Move the call to find-function-other-window
outside the save-excursion.
2003-05-19 14:47:46 +00:00
Stefan Monnier
b5ed9def80 (beginning-of-defun-raw): Use shy-group. 2003-05-18 21:51:01 +00:00
Stefan Monnier
6826a1342e (make-autoload): Add arglist for define-derived-mode. 2003-05-15 15:24:24 +00:00
Juanma Barranquero
74dfa72fa3 (popup-dialog-box): Don't quote nil and t in docstrings. 2003-05-06 17:49:24 +00:00
Juanma Barranquero
89a5038d51 (buffer-syntactic-context): Don't quote nil and t in docstrings. 2003-05-06 17:48:39 +00:00
Juanma Barranquero
a8ea72a078 (case, typecase): Don't quote nil and t in docstrings. 2003-05-06 17:37:04 +00:00
Juanma Barranquero
66d0d12c98 (eldoc-echo-area-use-multiline-p): Don't quote nil and t in docstrings. 2003-05-06 17:36:16 +00:00
Stefan Monnier
824c61ddc6 (ad-make-advised-docstring): Adjust usage for new help-add-fundoc-usage. 2003-05-06 13:58:30 +00:00
Kenichi Handa
844da0ff4c (byte-compile-file): Fix comment 2003-05-06 05:10:59 +00:00
John Paul Wallington
375d5635f9 (batch-update-autoloads): Call `update-directory-autoloads'. 2003-05-05 00:25:11 +00:00
Richard M. Stallman
56eebc2963 (update-directory-autoloads): Renamed from
update-autoloads-from-directories.
2003-05-04 13:08:58 +00:00
Stefan Monnier
09dae035eb (cl-map-keymap): Redefine as alias.
(cl-map-keymap-recursively): Use map-keymap.
(cl-macroexpand-all): Don't quote functions.
2003-05-04 00:44:25 +00:00
Stefan Monnier
0d7a020af5 (cl-map-keymap): Be careful with aliases. 2003-05-04 00:34:16 +00:00
Stefan Monnier
24c22ecf5a (ad-get-enabled-advices, ad-special-forms)
(ad-arglist, ad-subr-arglist): Use push and match-string.
(ad-make-advised-docstring): Extract & reinsert the usage info.
2003-05-04 00:32:46 +00:00
Stefan Monnier
dca6b77cab (easy-menu-get-map): Correctly handle non-submap bindings. 2003-04-30 20:53:04 +00:00
John Paul Wallington
6640c250eb (byte-compile-cl-warn): Use `string-match'. 2003-04-29 02:56:25 +00:00
Dave Love
118861dfa8 (byte-compile-cl-warn): Avoid cl warnings
from caaar & al.
2003-04-28 22:05:17 +00:00
Juanma Barranquero
59b2ee6929 (regexp-opt-depth): Don't count a "//(" which appears inside a character set.
(regexp-opt-not-groupie*-re): New constant.
2003-04-26 23:29:45 +00:00
Sam Steingold
10b97bf735 symbol-macrolet' is similar to let', not `multiple-value-bind'. 2003-04-25 02:00:17 +00:00
Richard M. Stallman
a81edd91e0 Comment change. 2003-04-24 01:52:37 +00:00
Richard M. Stallman
d8c9125887 (byte-compile-defun): Generate and compile a defalias form,
unless byte-compile-compatibility.
2003-04-24 01:51:54 +00:00
Richard M. Stallman
592060ab2f (emacs-lisp-mode-syntax-table): Give @ prefix syntax. 2003-04-24 01:36:13 +00:00
Stefan Monnier
d0e07261a2 (byte-compile-defvar): Improve message. 2003-04-21 15:48:28 +00:00
Richard M. Stallman
977f31f883 (byte-compile-log-file, (byte-recompile-directory): Don't use
byte-goto-log-buffer.  Instead, set default-directory and then call
compilation-mode.

(byte-compile-from-buffer): Force byte-compile-last-position
to end of buffer before issuing final warnings.
2003-04-19 04:18:37 +00:00
Stefan Monnier
eb81f2758f (define-minor-mode): Only echo a message if the body didn't do so already.
(easy-mmode-define-keymap): Remove unused var `suppress'.
2003-04-18 17:31:05 +00:00
Stefan Monnier
582a857ccc (byte-compile-const-symbol-p): Rename arg. 2003-04-16 20:10:33 +00:00
Richard M. Stallman
1d24f61858 (last-sexp-toggle-display): At end of buffer, run the global binding
of the same key.
2003-04-14 10:09:35 +00:00
Stefan Monnier
8898f44ea6 (byte-compile-file-form-defvar, byte-compile-defvar):
Fix last commit which mistakenly relied on not-yet committed code.
2003-04-12 21:39:50 +00:00
Stefan Monnier
6c2161c427 Use push, with-current-buffer, dolist, ...
(byte-compile-const-variables): New var.
(byte-compile-close-variables): Reset it.
(byte-compile-file-form-defvar, byte-compile-defvar): Update it.
(byte-compile-const-symbol-p): Now arg `value' to check defconsts.
(byte-compile-variable-ref): Use it and improve warning message.
(byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
(byte-compile-lapcode): Remove unused vars.
(byte-compile-eval): Fix thinko in handling of old-autoloads.
(byte-recompile-directory): Use the expanded form for directory.
(byte-compile-track-mouse): Use modern backquote syntax.
(byte-compile-defvar): Detect and properly handle (defconst a).
(byte-compile-defalias-warn): Remove unused arg `alias'.
(byte-compile-defalias): Update call.
2003-04-12 20:28:10 +00:00
Richard M. Stallman
98996d899e (last-sexp-toggle-display): At end of buffer, just call `newline'. 2003-04-09 01:32:45 +00:00
Richard M. Stallman
56708dce08 (last-sexp-toggle-display): Correct the starting point for
previous-single-property-change.
2003-04-06 20:17:01 +00:00
Richard M. Stallman
efc13f4638 (easy-menu-define): Don't make a defvar for nil.
(easy-menu-convert-item-1): Doc fix.
(easy-menu-change): Call easy-menu-create-menu.
2003-04-03 23:15:47 +00:00
Juanma Barranquero
b08b261e8b (checkdoc-display-status-buffer): Fix docstring.
(checkdoc-interactive, checkdoc-message-interactive): Make them perform spell
checking when appropriate.
(checkdoc-interactive-loop): Fix docstring and a few typos.
(checkdoc-interactive-ispell-loop)
(checkdoc-message-interactive-ispell-loop): New functions.
(checkdoc-next-error): Fix docstring.
(checkdoc-this-string-valid-engine): Fix typo.
(checkdoc-ispell-docstring-engine): Do test for checkdoc-autofix-flag = nil.
2003-03-28 17:38:50 +00:00
Jonathan Yavner
7119cefec2 No error when marking functions whose body just returns a constant. Handle
screwy top-level macros that create functions and store them as properties of
symbols.  Support for CL's function* macro.
2003-03-28 16:45:19 +00:00