1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

318 Commits

Author SHA1 Message Date
Chong Yidong
fe4acc60c6 (customize-save-variable): Clear customized-value property (saved
values are now put in theme-value property).
(customize-set-variable): Doc fix.
2007-03-05 15:16:08 +00:00
Eli Zaretskii
c34a8a8740 (custom-save-all): Canonicalize custom-file before storing it in
recentf-exclude.
2007-02-23 19:13:40 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
0b97da8f38 (customize-unsaved): Renamed from customize-customized.
Change messages accordingly.
(customize-customized): Now alias.
2007-01-02 20:55:54 +00:00
Richard M. Stallman
ba5b643ea3 (custom-browse-sort-alphabetically, custom-buffer-sort-alphabetically)
(custom-menu-sort-alphabetically): Doc fixes.  Add autoloads.
2006-12-26 21:48:17 +00:00
Richard M. Stallman
9e2f5050bc (custom-save-all): Use find-file-visit-truename for visiting the custom file. 2006-11-12 19:55:10 +00:00
Juanma Barranquero
c8c9333c69 (hook): Fix typos in docstring. 2006-11-06 22:37:30 +00:00
Chong Yidong
f3093f777f (custom-mode-map): Move defvar above code using it.
(custom-mode-link-map): New variable.
(custom-group-link, custom-manual): Use follow-link.
2006-11-06 22:05:23 +00:00
Juanma Barranquero
1839a807ff (hook): Fix typo in docstring. 2006-11-06 02:49:18 +00:00
Richard M. Stallman
e29e9065b1 (custom-save-all): Error if saving in .emacs and it had an error when loaded. 2006-11-05 15:17:49 +00:00
Juanma Barranquero
10cb6e7b96 (custom-unlispify-menu-entries, custom-unlispify-tag-names,
custom-prompt-variable): Use "non-nil" in docstrings.
2006-11-03 15:06:26 +00:00
Chong Yidong
b0c4ae71dc * wid-edit.el (widget-button-click-moves-point): New variable.
(widget-button-click): If widget-button-click-moves-point is
	non-nil, set point after performing the button action

	* cus-edit.el (custom-mode): Set widget-button-click-moves-point.
2006-09-30 15:45:35 +00:00
Chong Yidong
31b7fa51d6 * cus-edit.el (custom-save-all): Switch to emacs-lisp mode before
saving anything to be sure that `forward-sexp' behaves correctly.
2006-09-29 18:31:33 +00:00
Richard M. Stallman
83ff1415e5 (custom-buffer-create-internal): In `emacs -q',
explain why Save is not available.
2006-09-22 21:47:00 +00:00
Richard M. Stallman
0518917aaa (mode-line): Renamed from modeline. All uses changed. 2006-09-14 23:53:55 +00:00
Richard M. Stallman
809f0c3561 (custom-menu-create): Bind deactivate-mark here
(custom-group-menu-create): Not here.
2006-09-08 11:57:05 +00:00
Chong Yidong
b1674d6103 * cus-edit.el (custom-group-menu-create): Avoid deactivating the
mark after running the menu filter.
2006-09-03 14:13:37 +00:00
Richard M. Stallman
adcc7a37ed (custom-save-variables): Slight cleanup.
(Custom-no-edit): Renamed from custom-no-edit.
(Custom-newline): Renamed from custom-newline.
(custom-mode-map): Use new names.
2006-08-31 23:16:03 +00:00
Richard M. Stallman
19f0515ada (custom-newline): New function.
(custom-mode-map): Bind newline to custom-newline.
2006-08-16 05:05:08 +00:00
Chong Yidong
a8da2abd40 * cus-edit.el (custom-no-edit): Revert 2006-07-27 change, so that
self-insert-command keys don't activate buttons.
	(custom-mode-map): Just don't bind "\C-m" to `custom-no-edit'.
2006-07-28 18:08:11 +00:00
Richard M. Stallman
7eb944cfa0 (customize-package-emacs-version-alist): Doc fix.
(customize-package-emacs-version): Change msg when pkg has no entry.
(custom-no-edit): On a button, do like widget-button-press.
2006-07-28 03:31:44 +00:00
Stefan Monnier
e0a0d9fe5c (custom-variable-state-set): If the variable was originally set outside
custom, but to the same value as the default, consider it to be standard.
2006-07-17 21:24:17 +00:00
Richard M. Stallman
0ce026b1d2 (custom-no-edit): New command.
(custom-mode-map): Remap to custom-no-edit instead of
using suppress-keymap.
2006-07-12 15:56:33 +00:00
Eli Zaretskii
81711dbab8 (customize-apropos): A better error message.
(top level) <debug-ignored-errors>: Extend and update the list of ignored
error messages.
2006-06-23 13:17:44 +00:00
Richard M. Stallman
161c71277e (customize-option, customize-option-other-window): Error if SYMBOL is nil. 2006-06-19 21:46:54 +00:00
Richard M. Stallman
11f0cdf824 (custom-guess-name-alist): Recognize `-flag'. 2006-06-16 15:12:09 +00:00
Luc Teirlinck
dbc1f997bd (custom-documentation): Avoid nil spec in defface. 2006-04-21 23:38:54 +00:00
Bill Wohler
994019dfac * cus-edit.el (customize-package-emacs-version-alist): Update
docstring.
(customize-package-emacs-version): Use cdr instead of cadr now that
alists use dotted pairs.

* custom.el (defcustom): Fix docstring for :package-version.
2006-04-14 00:46:39 +00:00
Bill Wohler
4e9c705e50 * custom.el (defcustom, custom-handle-keyword): Add :package-version
keyword.
(custom-add-package-version): New function. Sets value of new property
'custom-package-version from :package-version keyword.

* cus-edit.el (customize-package-emacs-version-alist): New variable.
(customize-changed-options): Add check for custom-package-version.
(customize-package-emacs-version): New function to look up Emacs
version corresponding to the given package version.
2006-04-10 23:43:34 +00:00
Chong Yidong
e02577b7d8 * cus-edit.el (custom-face-set): Call custom-push-theme before
face-spec set so that `changed' theme is correctly saved.
	(custom-face-reset-standard): Reset to recalculated face rather
	than defface spec.

	* custom.el (custom-push-theme): Only save `changed' theme if the
	current face does not match the defface specs.
2006-03-21 16:44:10 +00:00
Luc Teirlinck
2071d18477 (customize-changed-options): Mention explicit version number as
default in prompt.
2006-03-17 23:12:14 +00:00
Eli Zaretskii
33709261ef (custom-quote): Remove function since it has been moved to custom.el. 2006-03-03 12:23:29 +00:00
Chong Yidong
8ed50a66d3 * cus-edit.el (customize-set-variable): Push setting to `user' theme. 2006-02-19 17:27:37 +00:00
Chong Yidong
2d656942f6 * cus-edit.el (custom-save-variables): Allow unthemed values. 2006-02-19 15:50:09 +00:00
Chong Yidong
9ca6610316 * cus-edit.el (custom-mode): Update docstring. 2006-02-15 02:43:55 +00:00
Chong Yidong
bb55f90e4a * wid-edit.el (widget-keymap): Bind down-mouse-1 to
widget-button-click.

	* cus-edit.el (custom-mode-map): Remove mouse-1 binding.
2006-02-15 02:41:02 +00:00
Chong Yidong
e1ec62a596 * wid-edit.el (widget-button-click): Use :pressed-face property
for overlay face, if it exists.

	* cus-edit.el (custom-manual, custom-add-see-also)
	(custom-add-parent-links, custom-group-link): Add :pressed-face
	property to links.
2006-02-14 20:16:04 +00:00
Richard M. Stallman
61e802854e (custom-mode): Doc: Use advertised-widget-backward. 2006-01-26 18:00:29 +00:00
Juri Linkov
192e44fc8e (custom-buffer-create-internal): Use widget type
`custom-manual' instead of `info-link' and don't set properties
`button-face' and `mouse-face' explicitly.
(custom-browse-group-tag, custom-browse-variable-tag)
(custom-browse-face-tag): Inherit from widget class
`custom-group-link' instead of `push-button'.
(custom-button-unraised): Inherit from `underline' face.
(custom-link): Inherit from `link' face.  Fix doc and group.
(custom-add-parent-links, custom-group-value-create): Don't set
properties `button-face' and `mouse-face' explicitly for
`custom-group-link' widget.
(custom-group-link): Add properties `button-face' and `mouse-face'
to widget definition.
(custom-field-keymap): New variable.  Put `custom-field-keymap' to
editable-field's :keymap property.
(custom-mode): Fix docstring: substitute keybindings for
`widget-forward' and `widget-backward' from `widget-keymap',
`widget-complete' from `custom-field-keymap', replace old
`Custom-move-and-invoke' with `widget-move-and-invoke'.  Untabify.
2006-01-23 01:21:24 +00:00
Luc Teirlinck
633bb8a9b1 (custom-buffer-create-internal): State in the text above
the whole buffer buttons that they do not operate on hidden items.
(custom-face-menu): Use `custom-face-save' instead of
`custom-face-save-command'.
(custom-face-save-command): Make it an alias for `custom-face-save'
and declare it obsolete.
(custom-face-save): Doc fix.
2006-01-19 23:26:04 +00:00
Luc Teirlinck
c111d7aedc (customize-rogue): Minor doc fix. 2006-01-17 04:28:42 +00:00
Luc Teirlinck
025fddd4ed (Custom-set, Custom-save, Custom-reset-current, Custom-reset-saved):
Do not ask for confirmation in single option buffers.
2006-01-15 03:15:25 +00:00
Eli Zaretskii
83dc149dec (custom-add-see-also, custom-add-parent-links): Make sure the links use
the `custom-link' face.
2006-01-13 19:50:10 +00:00
Luc Teirlinck
70482877f5 (custom-reset-menu, custom-buffer-create-internal)
(custom-variable-menu, custom-face-menu, custom-group-menu)
(Custom-mode-menu): Change names of menu items.  (As discussed on emacs-devel.)
(custom-face-menu): Add "Undo Edits" item.
2006-01-12 02:25:59 +00:00
John Paul Wallington
ee5137b3ae (custom-comment) <defface>: Add TTY definitions. 2006-01-09 23:14:26 +00:00
Richard M. Stallman
671779752f (Custom-set, Custom-save): Doc fix.
(Custom-reset-current, Custom-reset-saved): Change question text.
(Custom-reset-standard): Likewise.
(custom-variable-reset-saved): Doc fix.
2006-01-08 03:55:27 +00:00
Chong Yidong
eaa9920556 (custom-reset-menu, Custom-mode-menu)
(custom-variable-menu, custom-face-menu, custom-group-menu):
	Move back to previous ordering.
2006-01-04 21:23:20 +00:00
Chong Yidong
b76747af07 * cus-edit.el (custom-face-save): Push to theme-face before
setting face spec.
2006-01-04 20:16:50 +00:00
Chong Yidong
0c7310460c * cus-edit.el (custom-reset-menu, Custom-mode-menu)
(custom-variable-menu, custom-face-menu, custom-group-menu):
	Undo last change.
	(Custom-reset-current, Custom-reset-saved)
	(Custom-reset-standard): Fix y-or-n-p messages.
2006-01-04 17:23:23 +00:00
Chong Yidong
73e60f534c * cus-edit.el (custom-reset-menu, custom-reset, Custom-mode-menu)
(custom-variable-menu, custom-face-menu, custom-group-menu)
	(custom-buffer-create-internal): Change "Reset" to "Show".
	Reorder menu items.
	(custom-link): New face for Info links.
	(custom-buffer-create-internal, custom-manual): Use it.

	* wid-edit.el (widget-default-mouse-face-get): New function.
	(widget-specify-button): Handle mouse-face like button-face.

	* custom.el (load-theme): Clear old theme settings if reloading.
2006-01-04 15:56:08 +00:00