(point-max))))))
(defun auth-source--symbol-keyword (symbol)
- (intern (format "%s" symbol) :keyword))
+ (intern (format ":%s" symbol)))
(defun auth-source-netrc-normalize (alist filename)
(mapcar (lambda (entry)
;; shouldn't affect the key's name (bug#12367).
(if (eq ?_ (aref name 0))
(setq name (substring name 1)))
- (intern (format "%s" name) :keyword))))
+ (intern (format ":%s" name)))))
(varg (if (consp (car arg)) (cadar arg) (car arg)))
(def (if (cdr arg) (cadr arg)
;; The ordering between those two or clauses is
(let* ((results
(cl-loop
for check in network-security-protocol-checks
- for type = (intern (format "%s" (car check)) :keyword)
+ for type = (intern (format ":%s" (car check)))
;; Skip the check if the user has already said that this
;; host is OK for this type of "error".
for result = (and (not (memq type
(cl-list* 'defconst x (list 'quote x) (and doc (list doc))))
(defun keyword-of (sym)
- (or (keywordp sym) (keywordp (intern (format "%s" sym) :keyword))))
+ (or (keywordp sym) (keywordp (intern (format ":%s" sym)))))
;; Multiple values. Note that the new package uses a different
(defun org-ascii--translate (s info)
"Translate string S according to specified language and charset.
INFO is a plist used as a communication channel."
- (let ((charset (intern (format "%s" (plist-get info :ascii-charset)) :keyword)))
+ (let ((charset (intern (format ":%s" (plist-get info :ascii-charset)))))
(org-export-translate s charset info)))
"Return document preamble or postamble as a string, or nil.
TYPE is either `preamble' or `postamble', INFO is a plist used as a
communication channel."
- (let ((section (plist-get info (intern (format "html-%s" type) :keyword)))
+ (let ((section (plist-get info (intern (format ":html-%s" type))))
(spec (org-html-format-spec info)))
(when section
(let ((section-contents
(let* ((check-scope
;; Non-nil value when SETTING was defined in SCOPE.
(lambda (setting)
- (let ((property (intern (format "inbuffer-%s" setting) :keyword)))
+ (let ((property (intern (format ":inbuffer-%s" setting))))
(if (eq scope 'global)
(eq (plist-get info property) 'koma-letter:empty)
(not (eq (plist-get info property) 'koma-letter:empty))))))
;; as in the original buffer, and call appropriate filters.
(t
(org-export-filter-apply-functions
- (plist-get info (intern (format "filter-%s" type) :keyword))
+ (plist-get info (intern (format ":filter-%s" type)))
(let ((blank (or (org-element-property :post-blank data) 0)))
(if (eq (org-element-class data parent) 'object)
(concat results (make-string blank ?\s))
erc-d-match-handlers))))
(pcase-dolist (`(,var . ,def) defaults)
(push (or (plist-get kwds var) def) args)
- (push (intern (format "dialog-%s" var) :keyword) args))
+ (push (intern (format ":dialog-%s" var)) args))
(apply #'erc-d--start host service (or server-name erc-d-server-name)
args)))