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
70fe8236
Commit
70fe8236
authored
Sep 09, 2012
by
Stefan Monnier
Browse files
* lisp/eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
parent
aba05ce9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
+14
-10
lisp/ChangeLog
lisp/ChangeLog
+8
-4
lisp/eshell/em-unix.el
lisp/eshell/em-unix.el
+1
-1
src/buffer.c
src/buffer.c
+5
-5
No files found.
lisp/ChangeLog
View file @
70fe8236
2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
* eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2012-09-09 Alan Mackenzie <acm@muc.de>
* progmodes/cc-engine.el (c-state-cache-init):
Initialise
c-state-semi-nonlit-pos-cache\(-limit\)? properly.
(c-record-parse-state-state):
record
c-state-semi-nonlit-pos-cache\(-limit\)?.
* progmodes/cc-engine.el (c-state-cache-init):
Initialise
c-state-semi-nonlit-pos-cache\(-limit\)? properly.
(c-record-parse-state-state):
Record
c-state-semi-nonlit-pos-cache\(-limit\)?.
2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
...
...
lisp/eshell/em-unix.el
View file @
70fe8236
...
...
@@ -1111,7 +1111,7 @@ Execute a COMMAND as the superuser or another USER.")
(
substring
prefix
0
-1
)
user
host
dir
)
(
format
"/sudo:%s@%s:%s"
user
host
dir
))))
;; Ensure, that Tramp has connected to that construct already.
(
file-exists-p
default-directory
)
(
ignore
(
file-exists-p
default-directory
)
)
(
eshell-named-command
(
car
orig-args
)
(
cdr
orig-args
))))))))
(
put
'eshell/sudo
'eshell-no-numeric-conversions
t
)
...
...
src/buffer.c
View file @
70fe8236
...
...
@@ -44,7 +44,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "keymap.h"
#include "frame.h"
struct buffer *current_buffer; /*
t
he current buffer */
struct
buffer
*
current_buffer
;
/*
T
he current buffer
.
*/
/* First buffer in chain of all buffers (in reverse order of creation).
Threaded through ->header.next.buffer. */
...
...
@@ -74,12 +74,12 @@ struct buffer alignas (GCALIGNMENT) buffer_defaults;
and the corresponding slot in buffer_defaults is not used.
If a slot in this structure corresponding to a DEFVAR_PER_BUFFER is
zero, that is a bug */
zero, that is a bug
.
*/
struct
buffer
buffer_local_flags
;
/* This structure holds the names of symbols whose values may be
buffer-local. It is indexed and accessed in the same way as the above. */
buffer-local. It is indexed and accessed in the same way as the above.
*/
struct
buffer
alignas
(
GCALIGNMENT
)
buffer_local_symbols
;
...
...
@@ -108,7 +108,7 @@ static void call_overlay_mod_hooks (Lisp_Object list, Lisp_Object overlay,
static
void
swap_out_buffer_local_variables
(
struct
buffer
*
b
);
static
void
reset_buffer_local_variables
(
struct
buffer
*
,
bool
);
/* Alist of all buffer names vs the buffers. */
/* Alist of all buffer names vs the buffers.
*/
/* This used to be a variable, but is no longer,
to prevent lossage due to user rplac'ing this alist or its elements. */
Lisp_Object
Vbuffer_alist
;
...
...
@@ -127,7 +127,7 @@ static Lisp_Object Qpermanent_local_hook;
static
Lisp_Object
Qprotected_field
;
static Lisp_Object QSFundamental; /* A string "Fundamental" */
static
Lisp_Object
QSFundamental
;
/* A string "Fundamental"
.
*/
static
Lisp_Object
Qkill_buffer_hook
;
static
Lisp_Object
Qbuffer_list_update_hook
;
...
...
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