mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Avoid defconst for vars which we modify
If we `setq` or let-bind a var, then presumably it's not a const. * lisp/bookmark.el (bookmark-bmenu-buffer): * lisp/char-fold.el (char-fold-table): * lisp/pcmpl-linux.el (pcmpl-linux-fs-modules-path-format) (pcmpl-linux-mtab-file): * lisp/emacs-lisp/bytecomp.el (byte-compile-log-buffer): * lisp/emacs-lisp/check-declare.el (check-declare-warning-buffer): * lisp/emacs-lisp/ert-x.el (ert-remote-temporary-file-directory): * lisp/erc/erc.el (erc-default-port): * lisp/net/tramp.el (tramp-unknown-id-string) (tramp-unknown-id-integer): * lisp/url/url-util.el (url-unreserved-chars):
This commit is contained in:
parent
225710ba79
commit
1870e2f48a
9 changed files with 13 additions and 13 deletions
|
|
@ -262,7 +262,7 @@ This option is enabled by default because it reduces Emacs memory usage."
|
|||
:type 'boolean)
|
||||
;;;###autoload(put 'byte-compile-dynamic-docstrings 'safe-local-variable 'booleanp)
|
||||
|
||||
(defconst byte-compile-log-buffer "*Compile-Log*"
|
||||
(defvar byte-compile-log-buffer "*Compile-Log*"
|
||||
"Name of the byte-compiler's log buffer.")
|
||||
|
||||
(defvar byte-compile--known-dynamic-vars nil
|
||||
|
|
@ -1874,7 +1874,7 @@ It is too wide if it has any lines longer than the largest of
|
|||
(setq byte-to-native-plist-environment
|
||||
overriding-plist-environment)))))
|
||||
|
||||
(defmacro displaying-byte-compile-warnings (&rest body)
|
||||
(defmacro displaying-byte-compile-warnings (&rest body) ;FIXME: namespace!
|
||||
(declare (debug (def-body)))
|
||||
`(bytecomp--displaying-warnings (lambda () ,@body)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue