Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
65b77347
Commit
65b77347
authored
Feb 27, 2014
by
Andy Sawyer
Committed by
Glenn Morris
Feb 27, 2014
Browse files
* lisp/saveplace.el (toggle-save-place): Fix argument handling (tiny change)
Fixes: debbugs:16673
parent
c89f0e99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/saveplace.el
lisp/saveplace.el
+6
-6
No files found.
lisp/ChangeLog
View file @
65b77347
2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
* saveplace.el (toggle-save-place):
Fix argument handling. (Bug#16673)
2014-02-28 Glenn Morris <rgm@gnu.org>
* minibuffer.el (completions-first-difference)
...
...
lisp/saveplace.el
View file @
65b77347
...
...
@@ -155,12 +155,12 @@ file:
(
if
(
not
(
or
buffer-file-name
(
and
(
derived-mode-p
'dired-mode
)
dired-directory
)))
(
message
"Buffer `%s' not visiting a file or directory"
(
buffer-name
))
(
if
(
and
save-place
(
or
(
not
parg
)
(
<=
parg
0
)))
(
progn
(
message
"No place will be saved in this file"
)
(
setq
save-place
nil
))
(
message
"Place will be saved"
)
(
setq
save-place
t
))))
(
setq
save-place
(
if
parg
(
>
(
prefix-numeric-value
parg
)
0
)
(
not
save-place
))
)
(
message
(
if
save-place
"Place will be saved"
"No place will be saved in this file"
))))
(
declare-function
dired-get-filename
"dired"
(
&optional
localp
no-error-if-not-filep
))
...
...
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