tweaks: remove some more annoying conditional compilation

This commit is contained in:
Benno Schulenberg
2016-12-03 20:25:16 +01:00
parent 454f5cbdce
commit 4eac699df3
2 changed files with 3 additions and 14 deletions

View File

@@ -422,12 +422,8 @@ void stat_with_alloc(const char *filename, struct stat **pstat)
* or into a new buffer when MULTIBUFFER is set or there is no buffer yet. */
bool open_buffer(const char *filename, bool undoable)
{
bool new_buffer = (openfile == NULL
#ifndef DISABLE_MULTIBUFFER
|| ISSET(MULTIBUFFER)
#endif
);
/* Whether we load into this buffer or a new one. */
bool new_buffer = (openfile == NULL || ISSET(MULTIBUFFER));
/* Whether we load into the current buffer or a new one. */
char *realname;
/* The filename after tilde expansion. */
FILE *f;