Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

`buffer-read-only' is buffer-local by default

  • Loading branch information...
commit cfd8d654a2bdd0be30c5b9bf595b6ee245fb50ed 1 parent a38a0df
Le Wang authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  helm-grep.el
View
2  helm-grep.el
@@ -451,7 +451,7 @@ WHERE can be one of other-window, elscreen, other-frame."
do (setq new-buf (read-string "GrepBufferName: " "*hgrep ")))
(setq buf new-buf))
(with-current-buffer (get-buffer-create buf)
- (set (make-local-variable 'buffer-read-only) t)
+ (setq buffer-read-only t)
(let ((inhibit-read-only t))
(erase-buffer)
(insert "-*- mode: helm-grep -*-\n\n"
Please sign in to comment.
Something went wrong with that request. Please try again.