Skip to content
Browse files

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

  • Loading branch information...
1 parent a38a0df commit cfd8d654a2bdd0be30c5b9bf595b6ee245fb50ed Le Wang committed Nov 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 helm-grep.el
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))
(insert "-*- mode: helm-grep -*-\n\n"

0 comments on commit cfd8d65

Please sign in to comment.
Something went wrong with that request. Please try again.