summaryrefslogtreecommitdiff
path: root/lisp/progmodes/flymake-cc.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-12-06 08:57:54 +0100
committerStefan Kangas <stefan@marxist.se>2020-12-06 10:06:22 +0100
commite5c06669b89bd005ec2e5c17f307dbe128019f25 (patch)
tree789a5d602cf631bfed9338935e94d492a8eda621 /lisp/progmodes/flymake-cc.el
parent79d287c7b51758542798985e6b1c7b24b0038619 (diff)
downloademacs-e5c06669b89bd005ec2e5c17f307dbe128019f25.tar.gz
emacs-e5c06669b89bd005ec2e5c17f307dbe128019f25.tar.bz2
emacs-e5c06669b89bd005ec2e5c17f307dbe128019f25.zip
Prefer setq-local in several progmodes
* lisp/progmodes/executable.el (executable-interpret): * lisp/progmodes/f90.el (f90-mode): * lisp/progmodes/flymake-cc.el (flymake-cc--make-diagnostics): * lisp/progmodes/fortran.el (fortran-mode): * lisp/progmodes/gud.el (gud-gdb, sdb, dbx, xdb, perldb, pdb) (jdb, gud-mode, gud-common-init, gdb-script-mode) (gud-tooltip-activate-mouse-motions): * lisp/progmodes/hideshow.el (hs-minor-mode): * lisp/progmodes/icon.el (icon-mode): * lisp/progmodes/ld-script.el (ld-script-mode): * lisp/progmodes/mixal-mode.el (mixal-mode): * lisp/progmodes/modula2.el (m2-mode): * lisp/progmodes/simula.el (simula-mode): * lisp/progmodes/subword.el (subword-setup-buffer): * lisp/progmodes/which-func.el (which-function): Prefer setq-local.
Diffstat (limited to 'lisp/progmodes/flymake-cc.el')
-rw-r--r--lisp/progmodes/flymake-cc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake-cc.el b/lisp/progmodes/flymake-cc.el
index d1985b4f777..19cef855c54 100644
--- a/lisp/progmodes/flymake-cc.el
+++ b/lisp/progmodes/flymake-cc.el
@@ -50,7 +50,7 @@ SOURCE."
;; TODO: if you can understand it, use `compilation-mode's regexps
;; or even some of its machinery here.
;;
- ;; (set (make-local-variable 'compilation-locs)
+ ;; (setq-local compilation-locs
;; (make-hash-table :test 'equal :weakness 'value))
;; (compilation-parse-errors (point-min) (point-max)
;; 'gnu 'gcc-include)