Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1e4ed6df
Commit
1e4ed6df
authored
Sep 08, 1997
by
Per Abrahamsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
67053274
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
lisp/cus-edit.el
lisp/cus-edit.el
+7
-12
No files found.
lisp/cus-edit.el
View file @
1e4ed6df
...
...
@@ -2918,23 +2918,18 @@ Optional EVENT is the location for the menu."
;;; The `custom-save-all' Function.
;;;###autoload
(defcustom custom-file (if (boundp 'emacs-user-extension-dir)
(concat "
~
"
init-file-user
emacs-user-extension-dir
"
options.el
")
(convert-standard-filename"
~/.emacs
"))
(defcustom custom-file nil
"
File
used
for
storing
customization
information.
If
you
change
this
from
the
default
\"~/.emacs\"
(
or
\"~/_emacs\"
on
MS-DOS
)
you
need
to
explicitly
load
that
file
for
the
settings
to
take
effect.
"
:type '
file
The
default
is
nil
,
which
means
to
use
your
init
file
as
specified
by
`
user-init-file
'.
If
you
specify
some
other
file,
you
need
to
explicitly
load
that
file
for
the
settings
to
take
effect.
"
:type '
(choice (const :tag "
Your
Emacs
init
file
" nil) file)
:group 'customize)
(defun custom-save-delete (symbol)
"
Delete
the
call
to
SYMBOL
form
`
custom-file
'.
Leave
point
at
the
location
of
the
call,
or
after
the
last
expression.
"
(set-buffer (find-file-noselect custom-file))
(set-buffer (find-file-noselect
(or
custom-file
user-init-file)
))
(goto-char (point-min))
(catch 'found
(while t
...
...
@@ -3041,7 +3036,7 @@ Leave point at the location of the call, or after the last expression."
(custom-save-variables)
(custom-save-faces)
(save-excursion
(set-buffer (find-file-noselect custom-file))
(set-buffer (find-file-noselect
(or
custom-file
user-init-file)
))
(save-buffer))))
;;; The Customize Menu.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment