| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
current-load-list in top-level forms. Else this leaks a cons cell
every time a defun is called.
|
|
|
|
|
|
|
|
| |
(lm-header-prefix): Cleanup the regexp.
(lm-header): Allow $ in non-RCS headers.
(lm-header-multiline): Put the strings back into order.
Stop at an empty line. Don't require two space chars if the
line is clearly not another header line.
|
| |
|
|
|
|
|
| |
because it breaks '(make-variable-buffer-local (defvar ...)'
which is used at least in dired.
|
|
|
|
|
| |
current-load-list in top-level forms. Else this leaks a cons cell
every time a defun is called.
|
| |
|
| |
|
|
|
|
|
|
| |
(down-list, backward-up-list, up-list, kill-sexp)
(backward-kill-sexp, mark-sexp)): Make arg optional.
(lisp-complete-symbol): Add optional arg PREDICATE.
|
|
|
|
|
| |
Compiler macro removed; beginning-of-line is no longer always
equivalent to forward-line, in the presence of fields.
|
|
|
|
|
|
|
|
|
| |
(ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
Allow going past the last element.
* pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
(cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
(cvs-mouse-toggle-mark): Don't move point.
(cvs-revert-if-needed): Avoid re-eval of local variables and modes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(regexp-opt-group): Use a list of chars for `letters'.
(regexp-opt-charset): `chars' is now a list of chars.
Use a char-table rather than a vector so it works for multibyte chars.
|
| |
|
|
|
|
|
| |
`defconst', `define-condition', `with-slots'.
* font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
|
|
|
|
| |
any multibyte characters.
|
|
|
|
| |
(second): Make it an alias for `cadr'.
|
|
|
|
|
|
| |
(toplevel): Remove `remq' and `remove' from autoloads.
(cl-fake-autoloads): New variable. If set, arrange for an error
when CL functions etc. are autoloaded.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add-minor-mode call complains in Emacs 21.
Use add-minor-mode to set minor-mode-alist, if available.
(eldoc-echo-area-use-multiline-p): New user option.
(eldoc-echo-area-multiline-supported-p): New variable.
(eldoc-docstring-format-sym-doc): Use them.
(eldoc-mode): If not using idle timers, append to local post and
pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
(eldoc-display-message-no-interference-p): Don't interfere with edebug.
Add autoload cookie for eldoc-mode minor-mode-alist initialization.
(eldoc-function-arglist): New function.
(eldoc-function-argstring): Use it.
|
| |
|
| |
|
|
|
|
| |
(easy-menu-remove): Defalias to ignore.
|
|
|
|
|
|
| |
(copy-tree, remprop): Remove, it's provided by CL.
(map-keymap): Define in terms of cl-map-keymap.
(extent-property, set-extent-end-glyph): New functions.
|
| |
|
|
|
|
| |
(cl-mapc): Use mapc instead of cl-old-mapc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(easy-menu-do-define): Use `menu-item' format.
Handle case where easy-menu-create-menu returns a symbol.
Manually call the potential top-level filter in the function binding.
(easy-menu-filter-return): New arg NAME.
Convert to a keymap if MENU is an XEmacs menu.
(easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
(easy-menu-converted-items-table, easy-menu-convert-item): New.
(easy-menu-do-add-item): Use it.
(easy-menu-create-menu): Use easy-menu-convert-item.
Wrap easy-menu-filter-return around any :filter specification.
Don't convert the menu if a filter was specified.
Tell easy-menu-make-symbol not to check for MENU being an expression.
(easy-menu-make-symbol): New arg NOEXP.
|
|
|
|
|
|
| |
EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
(eval-defun): If called with prefix arg, instrument code for
Edebug.
|
|
|
|
| |
similar to that of eval-defun.
|
|
|
|
|
| |
(edebug-get-displayed-buffer-points): Use walk-windows/some-window
instead of cycling through windows with next-window.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(byte-optimize-inline-handler, byte-optimize-form-code-walker)
(byte-optimize-apply, end of file): Don't quote lambda.
|
|
|
|
| |
(ad-make-freeze-definition): Don't quote lambda.
|
|
|
|
|
|
|
| |
Handle easy-mmode-define-global-mode.
For complex macros like define-minor-mode that can generate
several autoload entries, try to autoload entries in the
macroexpanded code.
|
|
|
|
|
|
|
|
|
|
| |
Use byte-compile-current-file and load-file-name to infer the
proper :require to pass to defcustom.
Wrap the hook var into `progn' so as not to autoload it.
Add a :autoload-end cookie.
Be more careful about the evaluation of KEYMAP.
(easy-mmode-define-global-mode): Add a :autoload-end cookie.
(define-derived-mode): Move define-abbrev-table outside of defvar.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Make use of symbol-property doc-string-elt.
Use memq rather than a sequence of eq.
(doc-string-elt): Fix the wrong or missing previously unused values.
(autoload-print-form): New function extracted from
generate-file-autoloads to allow recursion when handling progn
so that defvar's and defun's docstrings are properly printed.
(generate-file-autoloads): Use it.
|
|
|
|
|
| |
Use find-file-hooks in the minor-mode function.
Be careful not to loop indefinitely in the post-command-hook function.
|
|
|
|
|
|
| |
(easy-mmode-define-global-mode): New macro.
(define-minor-mode): Fix the handling of `group'.
(easy-mmode-define-keymap): Use case.
|
|
|
|
|
|
|
|
|
| |
(easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
and improve to use the lighter to guess the capitalization.
(define-minor-mode): Inline code from easy-mmode-define-toggle.
Add keyword arguments to specify global-ness or the custom group.
Add local-map and help-echo properties to the lighter.
(easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
|
|
|
|
|
|
|
|
| |
(easy-mmode-define-toggle, define-minor-mode): Use it.
(easy-mmode-define-keymap): Docstring fix.
(define-derived-mode): Default PARENT to fundamental-mode.
Add the derived-mode-parent symbol-property.
(easy-mmode-derived-mode-p): New function.
|
|
|
|
|
|
|
|
|
| |
Add an optional WHEN argument and change the format of the
symbol-property information.
* emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
(byte-compile-obsolete, byte-compile-variable-ref): Understand the
new obsolete-symbol-property format and print WHEN if it is provided.
(make-obsolete): Update the calls to use the third argument.
|
| |
|
|
|
|
|
|
|
| |
(byte-compile-flush-pending, byte-compile-file-form-progn)
(byte-compile-normal-call, byte-compile-list, byte-compile-concat)
(byte-compile-insert, byte-compile-funcall): Use mapc instead of
mapcar.
|
| |
|
| |
|
| |
|