Stefan Monnier [Fri, 5 Oct 2001 00:28:01 +0000 (00:28 +0000)]
(byte-recompile-directory): Make sure the file is readable.
(byte-compile-file): Don't compile if `no-byte-compile' is set.
(byte-compile-defvar): Update to reflect the change in Fdefvar.
(batch-byte-recompile-directory): Pass arg=0.
Stefan Monnier [Thu, 4 Oct 2001 22:57:40 +0000 (22:57 +0000)]
(lisp-imenu-generic-expression): Use regexp-opt.
(doc-string-elt): Set symbol's prop. Copied from autoload.el.
(lisp-font-lock-syntactic-face-function): New function.
(lisp-mode-variables): Use it. Make arg optional.
(emacs-lisp-mode): Don't pass an arg to lisp-mode-variables.
(lisp-mode): Don't pass an arg to lisp-mode-variables.
Set comment-start-skip.
Stefan Monnier [Thu, 4 Oct 2001 22:37:19 +0000 (22:37 +0000)]
(autoload-ensure-default-file, autoload-insert-section-header)
(autoload-before-p, autoload-remove-section): New functions.
(generate-file-autoloads): Use them.
(update-file-autoloads): Use them. Return FILE if there's no cookie.
Make sure the autoload file is properly formatted when creating it.
(update-autoloads-from-directories): Use them as well.
Only update autoloads for files whose timestamp has changed.
Add a dummy entry to remember the files which had no autoload cookies.
Stefan Monnier [Thu, 4 Oct 2001 22:14:23 +0000 (22:14 +0000)]
(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.
Gerd Moellmann [Thu, 4 Oct 2001 11:50:36 +0000 (11:50 +0000)]
(isearch-last-case-fold-search): New variable.
(isearch-mode): Remember value of isearch-case-fold-search
in isearch-last-case-fold-search.
(isearch-done): Quote value of isearch-case-fold-search.
(isearch-repeat): When resuming a search, restore
isearch-case-fold-search from isearch-last-case-fold-search.
Gerd Moellmann [Thu, 4 Oct 2001 11:18:37 +0000 (11:18 +0000)]
(inhibit-startup-buffer-menu): New user-option.
(command-line-1): If inhibit-startup-buffer-menu is set, don't
display the buffer menu. From Simon Josefsson <jas@extundo.com>.
Gerd Moellmann [Thu, 4 Oct 2001 10:02:43 +0000 (10:02 +0000)]
(error_msg): New variable.
(x_fatal_error_signal): New function.
(x_connection_closed): Set error_msg. Install
x_fatal_error_signal as fatal_error_signal_hook around the call to
XtCloseDisplay.
Gerd Moellmann [Thu, 4 Oct 2001 09:48:22 +0000 (09:48 +0000)]
(purebeg, pure_size, pure_bytes_used_before_overflow):
New variables.
(init_alloc_once): Initialize new variables.
(PURE_POINTER_P): Use new variables.
(pure_alloc): If pure storage overflows, allocate from the heap.
(check_pure_size): New function.
(Fgarbage_collect): Don't GC if pure storage has overflowed.
Gerd Moellmann [Thu, 4 Oct 2001 08:51:35 +0000 (08:51 +0000)]
Use SYMBOL_VALUE/SET_SYMBOL_VALUE.
(Qcyclic_variable_indirection): New variable.
(Fkeywordp): Check for internedness differently.
(Fmakunbound): Simplify the test if symbol is a constant.
(indirect_variable, Findirect_variable): New functions.
(swap_in_symval_forwarding): If SYMBOL is an alias, use the
aliased symbol.
(let_shadows_buffer_binding_p): Check for variable aliases.
(set_internal): Simplify the test if SYMBOL is a constant. If
SYMBOL has a buffer-local value and is an alias, use the aliased
symbol instead.
(syms_of_data): Initialize Qcyclic_variable_indirection and defsubr
Sindirect_variable.
Miles Bader [Tue, 2 Oct 2001 02:34:48 +0000 (02:34 +0000)]
(Minibuffer Misc): Add entries for `minibuffer-contents',
`minibuffer-contents-no-properties', and `delete-minibuffer-contents'.
Correct description for `minibuffer-prompt-end'.
Miles Bader [Tue, 2 Oct 2001 02:11:23 +0000 (02:11 +0000)]
(Property Search): Correct descriptions of
`next-char-property-change' and `previous-char-property-change'.
Add entries for `next-single-char-property-change' and
`previous-single-char-property-change'.
Make operand names a bit more consistent.
Eli Zaretskii [Mon, 1 Oct 2001 11:08:06 +0000 (11:08 +0000)]
(cal-menu-x-popup-menu): New function,
calls x-popup-menu only if popup menus are supported.
(calendar-mouse-insert-hebrew-diary-entry)
(calendar-mouse-insert-islamic-diary-entry)
(calendar-mouse-holidays, calendar-mouse-view-diary-entries)
(calendar-mouse-view-other-diary-entries)
(calendar-mouse-print-dates, calendar-mouse-2-date-menu)
(calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax): Call
cal-menu-x-popup-menu instead of x-popup-menu.
Gerd Moellmann [Mon, 1 Oct 2001 07:25:14 +0000 (07:25 +0000)]
(struct alias): Add two new struct members: NAMESP and
ALIASEE to help work with namespace aliases.
(struct sym): Remove struct member NAMESP_ALIASES.
(namespace_alias_table): New variable.
(make_namespace): Add parameter CONTEXT.
(check_namespace): New function.
(find_namespace): Add parameter CONTEXT.
(check_namespace_alias): New function.
(register_namespace_alias): Change type of parameter
OLD_NAME. Search for already defined alias in
NAMESPACE_ALIAS_TABLE.
(check_namespace): New function.
(enter_namespace): Call find_namespace with CONTEXT parameter.
(match_qualified_namespace_alias): New function.
(parse_qualified_ident_or_type): Fixed typo in comment. While
parsing qualified ident or type update namespace context and
restore it on exit.
(parse_qualified_param_ident_or_type): Fixed typo in comment.
(globals): Changed handling of namespace aliases.
(version): Added year 2001.
Eli Zaretskii [Sun, 30 Sep 2001 07:00:25 +0000 (07:00 +0000)]
(Backspace invokes help): Clarify that keyboard-translate is better
than global-set-key. Add reference to the manual's section about DEL vs
BS. Mention normal-erase-is-backspace.