diff options
| -rw-r--r-- | lisp/ibuf-ext.el | 7 | ||||
| -rw-r--r-- | lisp/ibuffer.el | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 6102e1f7400..3e4e0dcb1b6 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el | |||
| @@ -1504,10 +1504,9 @@ You can then feed the file name(s) to other commands with \\[yank]." | |||
| 1504 | (defun ibuffer-locked-buffer-p (&optional buf) | 1504 | (defun ibuffer-locked-buffer-p (&optional buf) |
| 1505 | "Return non-nil if BUF is locked. | 1505 | "Return non-nil if BUF is locked. |
| 1506 | When BUF nil, default to the buffer at current line." | 1506 | When BUF nil, default to the buffer at current line." |
| 1507 | (let ((_buffer (or buf (ibuffer-current-buffer))) | 1507 | (let ((cbuffer (or buf (ibuffer-current-buffer)))) |
| 1508 | char) | 1508 | (when cbuffer |
| 1509 | (when _buffer | 1509 | (with-current-buffer cbuffer |
| 1510 | (with-current-buffer _buffer | ||
| 1511 | (and (boundp 'emacs-lock-mode) emacs-lock-mode))))) | 1510 | (and (boundp 'emacs-lock-mode) emacs-lock-mode))))) |
| 1512 | 1511 | ||
| 1513 | ;;;###autoload | 1512 | ;;;###autoload |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 37f72bc1aaa..8e246297ff7 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -1348,8 +1348,8 @@ With optional ARG, make read-only only if ARG is not negative." | |||
| 1348 | t))) | 1348 | t))) |
| 1349 | ((not (char-equal mark ?\r)) | 1349 | ((not (char-equal mark ?\r)) |
| 1350 | (ibuffer-map-lines | 1350 | (ibuffer-map-lines |
| 1351 | (lambda (_buf _mark) | 1351 | (lambda (_buf cmark) |
| 1352 | (when (char-equal _mark mark) | 1352 | (when (char-equal cmark mark) |
| 1353 | (ibuffer-set-mark-1 ?\s)) | 1353 | (ibuffer-set-mark-1 ?\s)) |
| 1354 | t))) | 1354 | t))) |
| 1355 | (t | 1355 | (t |